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

Unified Diff: content/public/test/test_browser_thread.h

Issue 1011683002: Lazily initialize MessageLoop for faster thread startup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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 | « content/public/browser/browser_thread_delegate.h ('k') | content/public/test/test_browser_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_browser_thread.h
diff --git a/content/public/test/test_browser_thread.h b/content/public/test/test_browser_thread.h
index 2428bbb66ba729f3a61c33056d3d0a581ff5957b..d3a256474e36c40814ab9037a8def9c10a39ba2f 100644
--- a/content/public/test/test_browser_thread.h
+++ b/content/public/test/test_browser_thread.h
@@ -36,6 +36,10 @@ class TestBrowserThread {
// Starts the thread with a generic message loop.
bool Start();
+ // Starts the thread with a generic message loop and waits for the
+ // thread to run.
+ bool StartAndWaitForTesting();
+
// Starts the thread with an IOThread message loop.
bool StartIOThread();
« no previous file with comments | « content/public/browser/browser_thread_delegate.h ('k') | content/public/test/test_browser_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698