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

Unified Diff: chrome/browser/autocomplete/history_contents_provider_unittest.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 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/autocomplete/history_contents_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/history_contents_provider_unittest.cc b/chrome/browser/autocomplete/history_contents_provider_unittest.cc
index da15d1cf02d5a7d2053372711424a7c6af876753..0701a146f05d7105c5b57d78329ae399720ea093 100644
--- a/chrome/browser/autocomplete/history_contents_provider_unittest.cc
+++ b/chrome/browser/autocomplete/history_contents_provider_unittest.cc
@@ -56,7 +56,7 @@ class HistoryContentsProviderTest : public testing::Test,
// When we're waiting for asynchronous messages, we have to spin the message
// loop. This will be exited in the OnProviderUpdate function when complete.
if (input.matches_requested() == AutocompleteInput::ALL_MATCHES)
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
}
const ACMatches& matches() const { return provider_->matches(); }
@@ -116,10 +116,11 @@ class HistoryContentsProviderTest : public testing::Test,
// We must quit the message loop (if running) to return control to the test.
// Note, calling Quit() directly will checkfail if the loop isn't running,
// so we post a task, which is safe for either case.
- MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure());
+ base::MessageLoop::current()->PostTask(FROM_HERE,
+ base::MessageLoop::QuitClosure());
}
- MessageLoopForUI message_loop_;
+ base::MessageLoopForUI message_loop_;
content::TestBrowserThread ui_thread_;
content::TestBrowserThread file_thread_;

Powered by Google App Engine
This is Rietveld 408576698