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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/chromeos/extensions/file_manager/file_manager_browsertest.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc b/chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc
index cac1bf6fa569b005991868a56139b33a55c26413..b5390c3522892250abe0f40a1e91e62b451305e4 100644
--- a/chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc
@@ -395,7 +395,7 @@ class DriveTestVolume : public TestVolume,
name,
google_apis::test_util::CreateCopyResultCallback(&error,
&resource_entry));
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
if (error != google_apis::HTTP_CREATED)
return false;
if (!resource_entry)
@@ -409,7 +409,7 @@ class DriveTestVolume : public TestVolume,
time,
google_apis::test_util::CreateCopyResultCallback(&error,
&resource_entry));
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
if (error != google_apis::HTTP_SUCCESS)
return false;
if (!resource_entry)
@@ -438,7 +438,7 @@ class DriveTestVolume : public TestVolume,
shared_with_me,
google_apis::test_util::CreateCopyResultCallback(&error,
&resource_entry));
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
if (error != google_apis::HTTP_CREATED)
return false;
if (!resource_entry)
@@ -452,7 +452,7 @@ class DriveTestVolume : public TestVolume,
time,
google_apis::test_util::CreateCopyResultCallback(&error,
&resource_entry));
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
if (error != google_apis::HTTP_SUCCESS)
return false;
if (!resource_entry)
@@ -506,7 +506,7 @@ class DriveTestVolume : public TestVolume,
virtual void OnDirectoryChanged(
const base::FilePath& directory_path) OVERRIDE {
if (waiting_for_directory_change_)
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
// Notifies DriveFileSystem that the contents in FakeDriveService are
@@ -520,7 +520,7 @@ class DriveTestVolume : public TestVolume,
// Waits until a notification for a directory change is received.
void WaitUntilDirectoryChanged() {
waiting_for_directory_change_ = true;
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
waiting_for_directory_change_ = false;
}

Powered by Google App Engine
This is Rietveld 408576698