mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1254550 - Make Telemetry configuration consistent across builds. r=gfritzsche, a=lizzard
This commit is contained in:
parent
85af2a77f3
commit
8654db7493
@ -3361,7 +3361,7 @@ TelemetryImpl::CanRecordExtended() {
|
||||
|
||||
NS_IMETHODIMP
|
||||
TelemetryImpl::GetIsOfficialTelemetry(bool *ret) {
|
||||
#if defined(MOZILLA_OFFICIAL) && defined(MOZ_TELEMETRY_REPORTING)
|
||||
#if defined(MOZILLA_OFFICIAL) && defined(MOZ_TELEMETRY_REPORTING) && !defined(DEBUG)
|
||||
*ret = true;
|
||||
#else
|
||||
*ret = false;
|
||||
|
@ -280,8 +280,8 @@ interface nsITelemetry : nsISupports
|
||||
|
||||
/**
|
||||
* A flag indicating whether Telemetry can submit official results (for base or extended
|
||||
* data). This is true on official builds with built in support for Mozilla Telemetry
|
||||
* reporting.
|
||||
* data). This is true on official, non-debug builds with built in support for Mozilla
|
||||
* Telemetry reporting.
|
||||
*/
|
||||
readonly attribute boolean isOfficialTelemetry;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user