| 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 ed138e8ecd5144227b8f81dabfde673e5eeecb27..64169b283b885ce16446064d76cccfc6f9ce109c 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_.get()) {
|
| - 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_;
|
|
|
|
|