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

Unified Diff: chrome/browser/printing/cloud_print/cloud_print_proxy_service_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/printing/cloud_print/cloud_print_proxy_service_unittest.cc
diff --git a/chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc b/chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc
index d6eefc51e6db086b0f14d3734984699a0b6b264f..ce27b952c47f05aecfbccfabfcc5b34726c0e21c 100644
--- a/chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc
+++ b/chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc
@@ -87,7 +87,7 @@ void CallTask(const base::Closure& task) {
void PostTask(const base::Closure& task) {
if (!task.is_null())
- MessageLoop::current()->PostTask(FROM_HERE, task);
+ base::MessageLoop::current()->PostTask(FROM_HERE, task);
}
void MockServiceProcessControl::SetConnectSuccessMockExpectations(
@@ -196,7 +196,7 @@ class CloudPrintProxyPolicyTest : public ::testing::Test {
}
protected:
- MessageLoopForUI message_loop_;
+ base::MessageLoopForUI message_loop_;
content::TestBrowserThread ui_thread_;
TestingProfile profile_;
};
@@ -432,7 +432,7 @@ BrowserContextKeyedService* TestCloudPrintProxyServiceFactory(
service->GetMockServiceProcessControl()->SetWillBeDisabledExpectations();
service->Initialize();
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
return service;
}
@@ -450,5 +450,5 @@ TEST_F(CloudPrintProxyPolicyTest, StartupBrowserCreatorWithCommandLine) {
command_line.AppendSwitch(switches::kCheckCloudPrintConnectorPolicy);
EXPECT_FALSE(LaunchBrowser(command_line, &profile_));
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
}

Powered by Google App Engine
This is Rietveld 408576698