Index: Source/web/WebEmbeddedWorkerImpl.h |
diff --git a/Source/web/WebEmbeddedWorkerImpl.h b/Source/web/WebEmbeddedWorkerImpl.h |
index d7373526748b621ce9e7927d07d693fa628c7bf1..fcbcc99a762bb9980f79aa65a22a7bc8cc2e27bb 100644 |
--- a/Source/web/WebEmbeddedWorkerImpl.h |
+++ b/Source/web/WebEmbeddedWorkerImpl.h |
@@ -57,6 +57,10 @@ 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. |
tkent
2014/07/28 00:42:48
nit: I recommend to wrap code comments in 80 colu
|
+ static void terminateAll(); |
+ |
// WebEmbeddedWorker overrides. |
virtual void startWorkerContext(const WebEmbeddedWorkerStartData&) OVERRIDE; |
virtual void resumeAfterDownload() OVERRIDE; |
@@ -67,7 +71,6 @@ public: |
virtual void detachDevTools() OVERRIDE; |
virtual void dispatchDevToolsMessage(const WebString&) OVERRIDE; |
- |
private: |
class Loader; |
class LoaderProxy; |