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

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

Issue 2402983002: [TimeZoneMonitor] Decouple renderer side impl from content to blink. (Closed)
Patch Set: Rebase only Created 4 years, 2 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
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 bbd47ae68ee551bb842c78c0e912805c0fd74706..2725d6c335a1ae0de43ccd8a09c52d22cf18dd1c 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
@@ -159,6 +159,10 @@ class CORE_EXPORT WorkerThread : public WebThread::TaskObserver {
// Number of active worker threads.
static unsigned workerThreadCount();
+ // Returns a set of all worker threads. This must be called only on the main
+ // thread and the returned set must not be stored for future use.
+ static HashSet<WorkerThread*>& workerThreads();
+
PlatformThreadId platformThreadId();
bool isForciblyTerminated();

Powered by Google App Engine
This is Rietveld 408576698