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

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
Index: chrome/browser/visitedlink/visitedlink_unittest.cc
===================================================================
--- chrome/browser/visitedlink/visitedlink_unittest.cc (revision 116825)
+++ 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()->Flush();
}
// Loads the database from disk and makes sure that the same URLs are present

Powered by Google App Engine
This is Rietveld 408576698