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

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

Issue 2539443004: Worker: Move ParentFrameTaskRunners from WorkerReportingProxy to ObjectProxy (Closed)
Patch Set: rebase Created 3 years, 11 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/ThreadedObjectProxyBase.h
diff --git a/third_party/WebKit/Source/core/workers/ThreadedObjectProxyBase.h b/third_party/WebKit/Source/core/workers/ThreadedObjectProxyBase.h
index 3f80f9ba262dc8c6ebdf91caad52e1ac7690ba68..afa34a77ccbe5eb957813062a2d50b568f577475 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedObjectProxyBase.h
+++ b/third_party/WebKit/Source/core/workers/ThreadedObjectProxyBase.h
@@ -12,6 +12,7 @@
namespace blink {
+class ParentFrameTaskRunners;
class ThreadedMessagingProxyBase;
// A proxy to talk to the parent object. This object is created and destroyed on
@@ -35,13 +36,13 @@ class CORE_EXPORT ThreadedObjectProxyBase : public WorkerReportingProxy {
const String& message,
SourceLocation*) override;
void postMessageToPageInspector(const String&) override;
- ParentFrameTaskRunners* getParentFrameTaskRunners() override;
void didCloseWorkerGlobalScope() override;
void didTerminateWorkerThread() override;
protected:
explicit ThreadedObjectProxyBase(ParentFrameTaskRunners*);
virtual WeakPtr<ThreadedMessagingProxyBase> messagingProxyWeakPtr() = 0;
+ ParentFrameTaskRunners* getParentFrameTaskRunners();
private:
// Used to post a task to ThreadedMessagingProxyBase on the parent context

Powered by Google App Engine
This is Rietveld 408576698