Index: chrome/browser/google_apis/test_util.cc |
diff --git a/chrome/browser/google_apis/test_util.cc b/chrome/browser/google_apis/test_util.cc |
index ef91aecc948484ddf75ade8d32dd08a1cc839173..42a8f86cf7708c6777d28e7acdafe2be84e40b00 100644 |
--- a/chrome/browser/google_apis/test_util.cc |
+++ b/chrome/browser/google_apis/test_util.cc |
@@ -28,7 +28,7 @@ namespace google_apis { |
namespace test_util { |
// This class is used to monitor if any task is posted to a message loop. |
-class TaskObserver : public MessageLoop::TaskObserver { |
+class TaskObserver : public base::MessageLoop::TaskObserver { |
public: |
TaskObserver() : posted_(false) {} |
virtual ~TaskObserver() {} |
@@ -78,9 +78,9 @@ void RunBlockingPoolTask() { |
content::BrowserThread::GetBlockingPool()->FlushForTesting(); |
TaskObserver task_observer; |
- MessageLoop::current()->AddTaskObserver(&task_observer); |
- MessageLoop::current()->RunUntilIdle(); |
- MessageLoop::current()->RemoveTaskObserver(&task_observer); |
+ base::MessageLoop::current()->AddTaskObserver(&task_observer); |
+ base::MessageLoop::current()->RunUntilIdle(); |
+ base::MessageLoop::current()->RemoveTaskObserver(&task_observer); |
if (!task_observer.posted()) |
break; |
} |
@@ -88,7 +88,7 @@ void RunBlockingPoolTask() { |
void RunAndQuit(const base::Closure& closure) { |
closure.Run(); |
- MessageLoop::current()->Quit(); |
+ base::MessageLoop::current()->Quit(); |
} |
bool WriteStringToFile(const base::FilePath& file_path, |