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

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

Issue 2268933002: ServiceWorker: Detect forcible worker thread termination in a correct way (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert moving getExitCode() in favor of https://codereview.chromium.org/2274453002/ Created 4 years, 4 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 2bf6cee53d760d4c10d82493ef5d26bf5b0e098c..b001362e9c230b3e906b0f208a7fa2d29760372b 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
@@ -150,6 +150,8 @@ public:
ExitCode getExitCode();
+ bool isForciblyTerminated();
+
void waitForShutdownForTesting() { m_shutdownEvent->wait(); }
protected:
« 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