Bug 923248 - Fix typo in proxy/direct NTLM module telemetry accumulation, r=jduell

This commit is contained in:
Honza Bambas 2013-10-10 19:10:45 +02:00
parent a7cfe4f5a9
commit 0893241978
5 changed files with 10 additions and 10 deletions

View File

@ -358,8 +358,8 @@ nsAuthGSSAPI::Init(const char *serviceName,
static bool sTelemetrySent = false;
if (!sTelemetrySent) {
mozilla::Telemetry::Accumulate(
mozilla::Telemetry::NTLM_MODULE_USED,
serviceFlags | nsIAuthModule::REQ_PROXY_AUTH
mozilla::Telemetry::NTLM_MODULE_USED_2,
serviceFlags & nsIAuthModule::REQ_PROXY_AUTH
? NTLM_MODULE_KERBEROS_PROXY
: NTLM_MODULE_KERBEROS_DIRECT);
sTelemetrySent = true;

View File

@ -278,8 +278,8 @@ nsAuthSSPI::Init(const char *serviceName,
static bool sTelemetrySent = false;
if (!sTelemetrySent) {
mozilla::Telemetry::Accumulate(
mozilla::Telemetry::NTLM_MODULE_USED,
serviceFlags | nsIAuthModule::REQ_PROXY_AUTH
mozilla::Telemetry::NTLM_MODULE_USED_2,
serviceFlags & nsIAuthModule::REQ_PROXY_AUTH
? NTLM_MODULE_WIN_API_PROXY
: NTLM_MODULE_WIN_API_DIRECT);
sTelemetrySent = true;

View File

@ -215,8 +215,8 @@ nsAuthSambaNTLM::Init(const char *serviceName,
static bool sTelemetrySent = false;
if (!sTelemetrySent) {
mozilla::Telemetry::Accumulate(
mozilla::Telemetry::NTLM_MODULE_USED,
serviceFlags | nsIAuthModule::REQ_PROXY_AUTH
mozilla::Telemetry::NTLM_MODULE_USED_2,
serviceFlags & nsIAuthModule::REQ_PROXY_AUTH
? NTLM_MODULE_SAMBA_AUTH_PROXY
: NTLM_MODULE_SAMBA_AUTH_DIRECT);
sTelemetrySent = true;

View File

@ -778,8 +778,8 @@ nsNTLMAuthModule::Init(const char *serviceName,
static bool sTelemetrySent = false;
if (!sTelemetrySent) {
mozilla::Telemetry::Accumulate(
mozilla::Telemetry::NTLM_MODULE_USED,
serviceFlags | nsIAuthModule::REQ_PROXY_AUTH
mozilla::Telemetry::NTLM_MODULE_USED_2,
serviceFlags & nsIAuthModule::REQ_PROXY_AUTH
? NTLM_MODULE_GENERIC_PROXY
: NTLM_MODULE_GENERIC_DIRECT);
sTelemetrySent = true;

View File

@ -4088,10 +4088,10 @@
"n_values": 3,
"description": "A simple counter of daily mixed-content unblock operations and top documents loaded"
},
"NTLM_MODULE_USED": {
"NTLM_MODULE_USED_2": {
"kind": "enumerated",
"n_values": 8,
"description": "The module used for the NTLM protocol (Windows_API, Kerberos, Samba_auth or Generic) and whether or not the authentication was used to connect to a proxy server. This data is collected only once per session (at first NTLM authentification)."
"description": "The module used for the NTLM protocol (Windows_API, Kerberos, Samba_auth or Generic) and whether or not the authentication was used to connect to a proxy server. This data is collected only once per session (at first NTLM authentification) ; fixed version."
},
"FX_THUMBNAILS_BG_QUEUE_SIZE_ON_CAPTURE": {
"kind": "exponential",