mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Telemetry: Remove stubs and related code
This commit is contained in:
parent
10053448d6
commit
aea50f182f
134 changed files with 68 additions and 3422 deletions
|
|
@ -79,9 +79,6 @@ public:
|
|||
nsAsyncRedirectVerifyHelper *helper);
|
||||
|
||||
bool IsOffline() { return mOffline; }
|
||||
PRIntervalTime LastOfflineStateChange() { return mLastOfflineStateChange; }
|
||||
PRIntervalTime LastConnectivityChange() { return mLastConnectivityChange; }
|
||||
PRIntervalTime LastNetworkLinkChange() { return mLastNetworkLinkChange; }
|
||||
bool IsNetTearingDown() { return mShutdown || mOfflineForProfileChange ||
|
||||
mHttpHandlerAlreadyShutingDown; }
|
||||
PRIntervalTime NetTearingDownStarted() { return mNetTearingDownStarted; }
|
||||
|
|
@ -176,18 +173,8 @@ private:
|
|||
|
||||
bool mNetworkNotifyChanged;
|
||||
|
||||
static bool sTelemetryEnabled;
|
||||
|
||||
static bool sBlockToplevelDataUriNavigations;
|
||||
|
||||
// These timestamps are needed for collecting telemetry on PR_Connect,
|
||||
// PR_ConnectContinue and PR_Close blocking time. If we spend very long
|
||||
// time in any of these functions we want to know if and what network
|
||||
// change has happened shortly before.
|
||||
mozilla::Atomic<PRIntervalTime> mLastOfflineStateChange;
|
||||
mozilla::Atomic<PRIntervalTime> mLastConnectivityChange;
|
||||
mozilla::Atomic<PRIntervalTime> mLastNetworkLinkChange;
|
||||
|
||||
// Time a network tearing down started.
|
||||
mozilla::Atomic<PRIntervalTime> mNetTearingDownStarted;
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue