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

Unified Diff: content/browser/browser_thread_impl.h

Issue 11649032: Flush SequenceWorkerPool tasks after each unit test. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 | « base/threading/sequenced_worker_pool_unittest.cc ('k') | content/browser/browser_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_thread_impl.h
===================================================================
--- content/browser/browser_thread_impl.h (revision 186525)
+++ content/browser/browser_thread_impl.h (working copy)
@@ -57,6 +57,10 @@
// Common initialization code for the constructors.
void Initialize();
+ // For testing.
+ friend class ContentTestSuiteBaseListener;
+ static void FlushThreadPoolHelper();
+
// The identifier of this thread. Only one thread can exist with a given
// identifier at a given time.
ID identifier_;
« no previous file with comments | « base/threading/sequenced_worker_pool_unittest.cc ('k') | content/browser/browser_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698