Index: public/web/WebServiceWorkerContextClient.h |
diff --git a/public/web/WebServiceWorkerContextClient.h b/public/web/WebServiceWorkerContextClient.h |
index d5996f815d4ad6f8a30b4ebe801df36f45ca3868..e7a8e1e4ee32ea6ba208d9f2b8ffa018dc27bba1 100644 |
--- a/public/web/WebServiceWorkerContextClient.h |
+++ b/public/web/WebServiceWorkerContextClient.h |
@@ -94,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) { } |