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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc

Issue 9877006: gdata: Fix a bug that blocked FILE thread when loading large feeds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « chrome/browser/chromeos/gdata/gdata_file_system.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc b/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
index 97b7595a15184511ae5ba83764fd2f60182b2bdd..7f3a719557d5bf78801260794f856aec38ad5d49 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
+++ b/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
@@ -772,7 +772,8 @@ class GDataFileSystemTest : public testing::Test {
false, // load_from_server
base::Bind(&GDataFileSystemTest::OnExpectToFindFile,
FilePath(FILE_PATH_LITERAL("gdata"))));
- RunAllPendingForIO();
+ BrowserThread::GetBlockingPool()->FlushForTesting();
+ message_loop_.RunAllPending();
}
static void OnExpectToFindFile(const FilePath& search_file_path,
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698