Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThread.h

Issue 2045403002: Worker: Add UMA to record an exit code of WorkerThread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build failures Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/workers/WorkerThread.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.h b/third_party/WebKit/Source/core/workers/WorkerThread.h
index 92c7dbe30e5e2029efd02695376b526fe3649d85..8800f462586a0b7f492c58f3a21fbaac36b9da2d 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
@@ -62,12 +62,13 @@ enum WorkerThreadStartMode {
// an actual task is executed on the worker thread.
class CORE_EXPORT WorkerThread {
public:
- // Represents how this thread is terminated.
+ // Represents how this thread is terminated. Used for UMA. Append only.
enum class ExitCode {
NotTerminated,
GracefullyTerminated,
SyncForciblyTerminated,
AsyncForciblyTerminated,
+ LastEnum,
};
virtual ~WorkerThread();
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698