Index: Source/web/WebEmbeddedWorkerImpl.h |
diff --git a/Source/web/WebEmbeddedWorkerImpl.h b/Source/web/WebEmbeddedWorkerImpl.h |
index d7373526748b621ce9e7927d07d693fa628c7bf1..98c5b38fe61dba8610d2d1c11e0112e11b05e644 100644 |
--- a/Source/web/WebEmbeddedWorkerImpl.h |
+++ b/Source/web/WebEmbeddedWorkerImpl.h |
@@ -57,6 +57,11 @@ public: |
PassOwnPtr<WebWorkerPermissionClientProxy>); |
virtual ~WebEmbeddedWorkerImpl(); |
+ // Terminate all WebEmbeddedWorkerImpl for testing purposes. |
+ // Note that this only schedules termination and |
+ // does not synchronously wait for it to complete. |
+ static void terminateAll(); |
+ |
// WebEmbeddedWorker overrides. |
virtual void startWorkerContext(const WebEmbeddedWorkerStartData&) OVERRIDE; |
virtual void resumeAfterDownload() OVERRIDE; |
@@ -67,7 +72,6 @@ public: |
virtual void detachDevTools() OVERRIDE; |
virtual void dispatchDevToolsMessage(const WebString&) OVERRIDE; |
- |
private: |
class Loader; |
class LoaderProxy; |