Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Unified Diff: Source/web/WebEmbeddedWorkerImpl.h

Issue 413993002: LeakDetector: Terminate all WebEmbeddedWorkerImpl before counting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: comment Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698