Bug 1470151 - Make dumpCoverage and resetCoverage return a Promise that is resolved when the parent process and all content processes are done with dumping or resetting coverage counters. r=froydnj

This commit is contained in:
Marco Castelluccio
2018-06-22 14:31:59 +01:00
parent 0aa3c9c31c
commit c1de911ed9
7 changed files with 102 additions and 30 deletions

View File

@@ -18,8 +18,10 @@ public:
static CodeCoverageHandler* Get();
CrossProcessMutex* GetMutex();
CrossProcessMutexHandle GetMutexHandle(int aProcId);
static void DumpCounters(int);
static void ResetCounters(int);
static void DumpCounters();
static void DumpCountersSignalHandler(int);
static void ResetCounters();
static void ResetCountersSignalHandler(int);
private:
CodeCoverageHandler();