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

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

Issue 2196133002: Revert of Pass per-frame task runners to Workers (when possible) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: crud 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/core/workers/InProcessWorkerMessagingProxy.h
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h
index 2e7adddff7ecc5509c3463d048647d0b244c453f..cdf4934d08f208005b3688498f7dac7532bbc894 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h
@@ -41,13 +41,12 @@
namespace blink {
+class InProcessWorkerObjectProxy;
+class WorkerThread;
class ExecutionContext;
class InProcessWorkerBase;
-class InProcessWorkerObjectProxy;
-class ParentFrameTaskRunners;
class WorkerClients;
class WorkerInspectorProxy;
-class WorkerThread;
// TODO(nhiroki): "MessagingProxy" is not well-defined term among worker
// components. Probably we should rename this to something more suitable.
@@ -68,7 +67,7 @@ public:
// These methods come from worker context thread via
// InProcessWorkerObjectProxy and are called on the parent context thread.
void postMessageToWorkerObject(PassRefPtr<SerializedScriptValue>, std::unique_ptr<MessagePortChannelArray>);
- void reportException(const String& errorMessage, std::unique_ptr<SourceLocation>, int exceptionId);
+ void reportException(const String& errorMessage, std::unique_ptr<SourceLocation>);
void reportConsoleMessage(MessageSource, MessageLevel, const String& message, std::unique_ptr<SourceLocation>);
void postMessageToPageInspector(const String&);
void confirmMessageFromWorkerObject(bool hasPendingActivity);
@@ -78,8 +77,6 @@ public:
ExecutionContext* getExecutionContext() const { return m_executionContext.get(); }
- ParentFrameTaskRunners* getParentFrameTaskRunners() { return m_parentFrameTaskRunners.get(); }
-
// Number of live messaging proxies, used by leak detection.
static int proxyCount();
@@ -127,8 +124,6 @@ private:
Persistent<WorkerClients> m_workerClients;
- std::unique_ptr<ParentFrameTaskRunners> m_parentFrameTaskRunners;
-
RefPtr<WorkerLoaderProxy> m_loaderProxy;
};
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698