mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
Issue #21 - Remove Telemetry plumbing and fix build.
Note this won't give working applications. Requires FE changes and additional js module changes (next part).
This commit is contained in:
parent
92a1cc3139
commit
8d800b1cb0
205 changed files with 45 additions and 40519 deletions
|
|
@ -8,7 +8,6 @@
|
|||
#include "NSSCertDBTrustDomain.h"
|
||||
#include "ScopedNSSTypes.h"
|
||||
#include "SharedSSLState.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
#include "nsAppDirectoryServiceDefs.h"
|
||||
#include "nsCRT.h"
|
||||
#include "nsILineInputStream.h"
|
||||
|
|
@ -150,7 +149,6 @@ nsCertOverrideService::Observe(nsISupports *,
|
|||
mSettingsFile = nullptr;
|
||||
}
|
||||
Read();
|
||||
CountPermanentOverrideTelemetry();
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
|
@ -597,20 +595,6 @@ nsCertOverrideService::ClearValidityOverride(const nsACString & aHostName, int32
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
nsCertOverrideService::CountPermanentOverrideTelemetry()
|
||||
{
|
||||
ReentrantMonitorAutoEnter lock(monitor);
|
||||
uint32_t overrideCount = 0;
|
||||
for (auto iter = mSettingsTable.Iter(); !iter.Done(); iter.Next()) {
|
||||
if (!iter.Get()->mSettings.mIsTemporary) {
|
||||
overrideCount++;
|
||||
}
|
||||
}
|
||||
Telemetry::Accumulate(Telemetry::SSL_PERMANENT_CERT_ERROR_OVERRIDES,
|
||||
overrideCount);
|
||||
}
|
||||
|
||||
static bool
|
||||
matchesDBKey(nsIX509Cert* cert, const nsCString& matchDbKey)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue