Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / web / WebServiceWorkerContextClient.h
index 21199d6..e7a8e1e 100644 (file)
@@ -71,6 +71,9 @@ public:
     // WebEmbeddedWorker.resumeAfterDownload() is invoked.
     virtual void didPauseAfterDownload() { }
 
+    // ServiceWorker has prepared everything for script loading and is now ready for inspection.
+    virtual void workerReadyForInspection() { }
+
     // A new WorkerGlobalScope is created and started to run on the
     // worker thread.
     // This also gives back a proxy to the client to talk to the
@@ -91,6 +94,10 @@ public:
     // This is called on the main thread.
     virtual void workerContextFailedToStart() { }
 
+    // Called when the worker script is evaluated. |success| is true if the
+    // evaluation completed with no uncaught exception.
+    virtual void didEvaluateWorkerScript(bool success) { }
+
     // Called when the WorkerGlobalScope had an error or an exception.
     virtual void reportException(const WebString& errorMessage, int lineNumber, int columnNumber, const WebString& sourceURL) { }