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

Unified Diff: chrome/browser/visitedlink/visitedlink_unittest.cc

Issue 9124033: Hook up the SequencedWorkerPool to the browser thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 | « chrome/browser/visitedlink/visitedlink_master.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/visitedlink/visitedlink_unittest.cc
===================================================================
--- chrome/browser/visitedlink/visitedlink_unittest.cc (revision 117955)
+++ chrome/browser/visitedlink/visitedlink_unittest.cc (working copy)
@@ -116,6 +116,9 @@
// our destroy task.
MessageLoop::current()->Run();
}
+
+ // Wait for all pending file I/O to be completed.
+ BrowserThread::GetBlockingPool()->FlushForTesting();
}
// Loads the database from disk and makes sure that the same URLs are present
« no previous file with comments | « chrome/browser/visitedlink/visitedlink_master.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698