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

Unified Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h

Issue 2163983004: Pass per-frame task runners to Workers (when possible) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 4 years, 5 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/web/WebEmbeddedWorkerImpl.h
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
index 614f4e19face281094066d9e242ba81dcf3a50c2..b13f99363b4413bfbdd454885386305ae4f0f8ff 100644
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
@@ -42,6 +42,7 @@
namespace blink {
+class ParentFrameTaskRunners;
class ServiceWorkerGlobalScopeProxy;
class WebLocalFrameImpl;
class WebServiceWorkerNetworkProvider;
@@ -109,6 +110,8 @@ private:
// Kept around only while main script loading is ongoing.
RefPtr<WorkerScriptLoader> m_mainScriptLoader;
+ std::unique_ptr<ParentFrameTaskRunners> m_mainThreadTaskRunners;
+
std::unique_ptr<WorkerThread> m_workerThread;
RefPtr<WorkerLoaderProxy> m_loaderProxy;
Persistent<ServiceWorkerGlobalScopeProxy> m_workerGlobalScopeProxy;

Powered by Google App Engine
This is Rietveld 408576698