diff options
author | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-28 22:08:16 +0000 |
---|---|---|
committer | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-28 22:08:16 +0000 |
commit | b3a25098c4a6895e1acd139146d618094dbd4df8 (patch) | |
tree | a344a722e481f117b63e701ba26108339dd7296f /chrome/browser/search_engines/search_provider_install_data_unittest.cc | |
parent | 3d8ab9f85ac4bd6e49213ab5bfbd1e620e24d261 (diff) | |
download | chromium_src-b3a25098c4a6895e1acd139146d618094dbd4df8.zip chromium_src-b3a25098c4a6895e1acd139146d618094dbd4df8.tar.gz chromium_src-b3a25098c4a6895e1acd139146d618094dbd4df8.tar.bz2 |
chrome: Use base::MessageLoop. (Part 3)
This CL updates chrome/browser/* other than chrome/browser/ui which is in
another CL.
BUG=236029
TBR=brettw
Review URL: https://chromiumcodereview.appspot.com/14113053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/search_engines/search_provider_install_data_unittest.cc')
-rw-r--r-- | chrome/browser/search_engines/search_provider_install_data_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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 4911e95..c0ca6c4 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( |