mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18: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
|
|
@ -25,7 +25,6 @@
|
|||
#include "nsProxyRelease.h"
|
||||
#include "nsSerializationHelper.h"
|
||||
#include "nsThreadUtils.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
#include <math.h>
|
||||
#include <algorithm>
|
||||
|
||||
|
|
@ -408,12 +407,7 @@ bool CacheEntry::Load(bool aTruncate, bool aPriority)
|
|||
|
||||
bool directLoad = aTruncate || !mUseDisk;
|
||||
if (directLoad) {
|
||||
// mLoadStart will be used to calculate telemetry of life-time of this entry.
|
||||
// Low resulution is then enough.
|
||||
mLoadStart = TimeStamp::NowLoRes();
|
||||
mPinningKnown = true;
|
||||
} else {
|
||||
mLoadStart = TimeStamp::Now();
|
||||
}
|
||||
|
||||
{
|
||||
|
|
@ -451,8 +445,6 @@ NS_IMETHODIMP CacheEntry::OnFileReady(nsresult aResult, bool aIsNew)
|
|||
LOG(("CacheEntry::OnFileReady [this=%p, rv=0x%08x, new=%d]",
|
||||
this, aResult, aIsNew));
|
||||
|
||||
MOZ_ASSERT(!mLoadStart.IsNull());
|
||||
|
||||
// OnFileReady, that is the only code that can transit from LOADING
|
||||
// to any follow-on state and can only be invoked ones on an entry.
|
||||
// Until this moment there is no consumer that could manipulate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue