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

Unified Diff: content/browser/browser_thread_impl.h

Issue 14197014: Add TestBrowserThreadBundle into RenderViewHostTestHarness. Kill some unnecessary real threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged ToT Created 7 years, 6 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
Index: content/browser/browser_thread_impl.h
diff --git a/content/browser/browser_thread_impl.h b/content/browser/browser_thread_impl.h
index b4ca49b027a76f1c8c62e99f7f12d6bf2698cb2a..17263452b83307db9253995b98a63308b0dfede7 100644
--- a/content/browser/browser_thread_impl.h
+++ b/content/browser/browser_thread_impl.h
@@ -18,8 +18,9 @@ class CONTENT_EXPORT BrowserThreadImpl : public BrowserThread,
// to construct a BrowserThreadImpl that already exists.
explicit BrowserThreadImpl(BrowserThread::ID identifier);
- // Special constructor for the main (UI) thread and unittests. We use a dummy
- // thread here since the main thread already exists.
+ // Special constructor for the main (UI) thread and unittests. If a
+ // |message_loop| is provied, we use a dummy thread here since the main
+ // thread already exists.
BrowserThreadImpl(BrowserThread::ID identifier,
base::MessageLoop* message_loop);
virtual ~BrowserThreadImpl();

Powered by Google App Engine
This is Rietveld 408576698