Index: public/web/WebServiceWorkerContextClient.h |
diff --git a/public/web/WebServiceWorkerContextClient.h b/public/web/WebServiceWorkerContextClient.h |
index d5996f815d4ad6f8a30b4ebe801df36f45ca3868..bae58038cce421384ff2d3ecd4059fa5896ad789 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 result) { } |
haraken
2014/11/05 04:26:49
result => success
nhiroki
2014/11/05 05:33:40
Done.
|
+ |
// Called when the WorkerGlobalScope had an error or an exception. |
virtual void reportException(const WebString& errorMessage, int lineNumber, int columnNumber, const WebString& sourceURL) { } |