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
|
|
@ -15,7 +15,6 @@
|
|||
#include "nsThreadUtils.h"
|
||||
#include "nsProxyRelease.h"
|
||||
#include "prtime.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace places {
|
||||
|
|
@ -270,26 +269,6 @@ private:
|
|||
const char* mTopic;
|
||||
};
|
||||
|
||||
/**
|
||||
* Used to notify a topic to system observers on async execute completion.
|
||||
*/
|
||||
class AsyncStatementTelemetryTimer : public AsyncStatementCallback
|
||||
{
|
||||
public:
|
||||
explicit AsyncStatementTelemetryTimer(Telemetry::ID aHistogramId,
|
||||
TimeStamp aStart = TimeStamp::Now())
|
||||
: mHistogramId(aHistogramId)
|
||||
, mStart(aStart)
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMETHOD HandleCompletion(uint16_t aReason);
|
||||
|
||||
private:
|
||||
const Telemetry::ID mHistogramId;
|
||||
const TimeStamp mStart;
|
||||
};
|
||||
|
||||
} // namespace places
|
||||
} // namespace mozilla
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue