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

Unified Diff: Source/core/workers/WorkerReportingProxy.h

Issue 1264913002: [Extension ServiceWorkers] Blink: Passing v8::context to extensions dispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | Source/core/workers/WorkerThread.cpp » ('j') | Source/core/workers/WorkerThread.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerReportingProxy.h
diff --git a/Source/core/workers/WorkerReportingProxy.h b/Source/core/workers/WorkerReportingProxy.h
index 85e880654140531c24a92b6a02a4cf1c27594f8c..023f8c2869f5750b3afdfc69da6dfb4054dbc2a8 100644
--- a/Source/core/workers/WorkerReportingProxy.h
+++ b/Source/core/workers/WorkerReportingProxy.h
@@ -35,6 +35,7 @@
#include "core/frame/ConsoleTypes.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
+#include <v8.h>
namespace blink {
@@ -55,6 +56,9 @@ public:
// evaluation completed with no uncaught exception.
virtual void didEvaluateWorkerScript(bool success) = 0;
+ // Invoked when the thread creates a worker script context.
+ virtual void didInitializeWorkerContext(v8::Local<v8::Context> context) { }
+
// Invoked when the new WorkerGlobalScope is started.
virtual void workerGlobalScopeStarted(WorkerGlobalScope*) = 0;
« no previous file with comments | « no previous file | Source/core/workers/WorkerThread.cpp » ('j') | Source/core/workers/WorkerThread.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698