Index: chrome/browser/history/history_querying_unittest.cc |
diff --git a/chrome/browser/history/history_querying_unittest.cc b/chrome/browser/history/history_querying_unittest.cc |
index 6e1d12b0b927965899203d8b6b70ee501eefc062..0b6781ad8ee3bac17d81a6c20ea8eb175ffaa070 100644 |
--- a/chrome/browser/history/history_querying_unittest.cc |
+++ b/chrome/browser/history/history_querying_unittest.cc |
@@ -85,7 +85,8 @@ class HistoryQueryTest : public testing::Test { |
UTF8ToUTF16(text_query), options, &consumer_, |
base::Bind(&HistoryQueryTest::QueryHistoryComplete, |
base::Unretained(this))); |
- MessageLoop::current()->Run(); // Will go until ...Complete calls Quit. |
+ // Will go until ...Complete calls Quit. |
+ base::MessageLoop::current()->Run(); |
results->Swap(&last_query_results_); |
} |
@@ -182,21 +183,21 @@ class HistoryQueryTest : public testing::Test { |
virtual void TearDown() { |
if (history_) { |
- history_->SetOnBackendDestroyTask(MessageLoop::QuitClosure()); |
+ history_->SetOnBackendDestroyTask(base::MessageLoop::QuitClosure()); |
history_->Cleanup(); |
history_.reset(); |
- MessageLoop::current()->Run(); // Wait for the other thread. |
+ base::MessageLoop::current()->Run(); // Wait for the other thread. |
} |
} |
void QueryHistoryComplete(HistoryService::Handle, QueryResults* results) { |
results->Swap(&last_query_results_); |
- MessageLoop::current()->Quit(); // Will return out to QueryHistory. |
+ base::MessageLoop::current()->Quit(); // Will return out to QueryHistory. |
} |
base::ScopedTempDir temp_dir_; |
- MessageLoop message_loop_; |
+ base::MessageLoop message_loop_; |
base::FilePath history_dir_; |