| Index: chrome/browser/history/top_sites_likely_impl_unittest.cc
|
| diff --git a/chrome/browser/history/top_sites_likely_impl_unittest.cc b/chrome/browser/history/top_sites_likely_impl_unittest.cc
|
| index 684c51b0c79ad5b37352c530e6fcf70449e4a936..1901b7e2bd7f75df1328fedc7b9207672ac03f95 100644
|
| --- a/chrome/browser/history/top_sites_likely_impl_unittest.cc
|
| +++ b/chrome/browser/history/top_sites_likely_impl_unittest.cc
|
| @@ -59,7 +59,7 @@ class WaitForHistoryTask : public HistoryDBTask {
|
| }
|
|
|
| virtual void DoneRunOnMainThread() OVERRIDE {
|
| - MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->Quit();
|
| }
|
|
|
| private:
|
| @@ -87,7 +87,7 @@ class TopSitesQuerier {
|
| weak_ptr_factory_.GetWeakPtr()));
|
| if (wait && start_number_of_callbacks == number_of_callbacks_) {
|
| waiting_ = true;
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->Run();
|
| }
|
| }
|
|
|
| @@ -106,7 +106,7 @@ class TopSitesQuerier {
|
| urls_ = data;
|
| number_of_callbacks_++;
|
| if (waiting_) {
|
| - MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->Quit();
|
| waiting_ = false;
|
| }
|
| }
|
| @@ -193,7 +193,7 @@ class TopSitesLikelyImplTest : public HistoryUnitTestBase {
|
| // need to wait until you know history has processed a task.
|
| void WaitForHistory() {
|
| history_service()->ScheduleDBTask(new WaitForHistoryTask(), &consumer_);
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->Run();
|
| }
|
|
|
| // Waits for top sites to finish processing a task. This is useful if you need
|
| @@ -203,7 +203,7 @@ class TopSitesLikelyImplTest : public HistoryUnitTestBase {
|
| base::Bind(&TopSitesLikelyImplTest::QuitCallback,
|
| base::Unretained(this)),
|
| &cancelable_task_tracker_);
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->Run();
|
| }
|
|
|
| TopSitesLikelyImpl* top_sites() {
|
| @@ -240,7 +240,7 @@ class TopSitesLikelyImplTest : public HistoryUnitTestBase {
|
| // Quit the current message loop when invoked. Useful when running a nested
|
| // message loop.
|
| void QuitCallback() {
|
| - MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->Quit();
|
| }
|
|
|
| // Adds a page to history.
|
| @@ -328,7 +328,7 @@ class TopSitesLikelyImplTest : public HistoryUnitTestBase {
|
| }
|
|
|
| private:
|
| - MessageLoopForUI message_loop_;
|
| + base::MessageLoopForUI message_loop_;
|
| content::TestBrowserThread ui_thread_;
|
| content::TestBrowserThread db_thread_;
|
| scoped_ptr<TestingProfile> profile_;
|
|
|