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

Unified Diff: chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 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
Index: chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc
diff --git a/chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc b/chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc
index d2601e43d8b153978e408cb1567cb3374ba62c28..0ca6a9f46a49c60cc23d24e528dcf0dbd8b74e7f 100644
--- a/chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc
+++ b/chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc
@@ -252,7 +252,7 @@ class PicasaFileUtilTest : public testing::Test {
bool completed = false;
NewOperation(url)->ReadDirectory(
url, base::Bind(&DidReadDirectory, &contents, &completed));
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
ASSERT_TRUE(completed);
ASSERT_EQ(test_folders.size(), contents.size());
@@ -275,7 +275,7 @@ class PicasaFileUtilTest : public testing::Test {
folder_url,
base::Bind(&DidReadDirectory, &folder_contents,
&folder_read_completed));
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
EXPECT_TRUE(folder_read_completed);
@@ -304,7 +304,7 @@ class PicasaFileUtilTest : public testing::Test {
bool completed = false;
NewOperation(url)->ReadDirectory(
url, base::Bind(&DidReadDirectory, &contents, &completed));
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
ASSERT_FALSE(completed);
}
@@ -324,7 +324,7 @@ class PicasaFileUtilTest : public testing::Test {
}
private:
- MessageLoop message_loop_;
+ base::MessageLoop message_loop_;
base::ScopedTempDir profile_dir_;
@@ -409,7 +409,7 @@ TEST_F(PicasaFileUtilTest, RootFolders) {
bool completed = false;
NewOperation(url)->ReadDirectory(
url, base::Bind(&DidReadDirectory, &contents, &completed));
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
ASSERT_TRUE(completed);
ASSERT_EQ(2u, contents.size());

Powered by Google App Engine
This is Rietveld 408576698