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

Unified Diff: chrome/browser/autocomplete/autocomplete_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/autocomplete_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/autocomplete_provider_unittest.cc b/chrome/browser/autocomplete/autocomplete_provider_unittest.cc
index d16ac4dc9fbc467f8f50580a51c225188595972c..25318a210e9f7b450564efe8cf4f8436b23f9500 100644
--- a/chrome/browser/autocomplete/autocomplete_provider_unittest.cc
+++ b/chrome/browser/autocomplete/autocomplete_provider_unittest.cc
@@ -96,8 +96,8 @@ void TestProvider::Start(const AutocompleteInput& input,
if (input.matches_requested() == AutocompleteInput::ALL_MATCHES) {
done_ = false;
- MessageLoop::current()->PostTask(FROM_HERE, base::Bind(&TestProvider::Run,
- this));
+ base::MessageLoop::current()->PostTask(
+ FROM_HERE, base::Bind(&TestProvider::Run, this));
}
}
@@ -194,7 +194,7 @@ class AutocompleteProviderTest : public testing::Test,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
- MessageLoopForUI message_loop_;
+ base::MessageLoopForUI message_loop_;
content::NotificationRegistrar registrar_;
TestingProfile profile_;
};
@@ -393,7 +393,7 @@ void AutocompleteProviderTest::RunQuery(const string16 query) {
if (!controller_->done())
// The message loop will terminate when all autocomplete input has been
// collected.
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
}
void AutocompleteProviderTest::RunExactKeymatchTest(
@@ -422,7 +422,7 @@ void AutocompleteProviderTest::Observe(
const content::NotificationDetails& details) {
if (controller_->done()) {
result_.CopyFrom(controller_->result());
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
}
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/autocomplete/contact_provider_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698