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

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: Removed v8::Context parameter Created 5 years, 4 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..83f04db8a8a27fb712c619e884d1c022981ad7a1 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>
dcheng 2015/08/05 00:04:53 Remove this #include.
annekao 2015/08/05 16:43:02 Done.
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() { }
+
// 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