Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / workers / WorkerReportingProxy.h
index 836fd17..6c402bf 100644 (file)
@@ -40,7 +40,7 @@ namespace blink {
 class ConsoleMessage;
 class WorkerGlobalScope;
 
-// APIs used by workers to report console activity.
+// APIs used by workers to report console and worker activity.
 class WorkerReportingProxy {
 public:
     virtual ~WorkerReportingProxy() { }
@@ -48,7 +48,10 @@ public:
     virtual void reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) = 0;
     virtual void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) = 0;
     virtual void postMessageToPageInspector(const String&) = 0;
-    virtual void updateInspectorStateCookie(const String&) = 0;
+
+    // Invoked when the worker script is evaluated. |success| is true if the
+    // evaluation completed with no uncaught exception.
+    virtual void didEvaluateWorkerScript(bool success) = 0;
 
     // Invoked when the new WorkerGlobalScope is started.
     virtual void workerGlobalScopeStarted(WorkerGlobalScope*) = 0;