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; |