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

Unified Diff: chrome/browser/search_engines/search_provider_install_data_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/search_engines/search_provider_install_data_unittest.cc
diff --git a/chrome/browser/search_engines/search_provider_install_data_unittest.cc b/chrome/browser/search_engines/search_provider_install_data_unittest.cc
index 4911e9564648f7c25fd99c147638a202ccacb09f..c0ca6c4c43e8e84502096b03d264c1e1554569f9 100644
--- a/chrome/browser/search_engines/search_provider_install_data_unittest.cc
+++ b/chrome/browser/search_engines/search_provider_install_data_unittest.cc
@@ -64,7 +64,7 @@ class TestGetInstallState :
const std::string& url);
SearchProviderInstallData* install_data_;
- MessageLoop* main_loop_;
+ base::MessageLoop* main_loop_;
// A host which should be a search provider but not the default.
std::string search_provider_host_;
@@ -88,14 +88,14 @@ TestGetInstallState::TestGetInstallState(
bool TestGetInstallState::RunTests() {
passed_ = true;
- main_loop_ = MessageLoop::current();
+ main_loop_ = base::MessageLoop::current();
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)->PostTask(
FROM_HERE,
base::Bind(&TestGetInstallState::StartTestOnIOThread, this));
// Run the current message loop. When the test is finished on the I/O thread,
// it invokes Quit, which unblocks this.
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
main_loop_ = NULL;
// Let the testing code know what the result is.
@@ -136,7 +136,7 @@ void TestGetInstallState::DoInstallStateTests() {
}
// All done.
- main_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
+ main_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
}
void TestGetInstallState::VerifyInstallState(
« no previous file with comments | « chrome/browser/search/iframe_source_unittest.cc ('k') | chrome/browser/search_engines/template_url_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698