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

Unified Diff: chrome/browser/printing/print_dialog_cloud_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/print_dialog_cloud_unittest.cc
diff --git a/chrome/browser/printing/print_dialog_cloud_unittest.cc b/chrome/browser/printing/print_dialog_cloud_unittest.cc
index ce50f287e83748533313dc4f5a31af519dc846ca..72f18ed039d0a7e1104fb789a1d7fa79038bc5d0 100644
--- a/chrome/browser/printing/print_dialog_cloud_unittest.cc
+++ b/chrome/browser/printing/print_dialog_cloud_unittest.cc
@@ -235,7 +235,7 @@ class CloudPrintDataSenderTest : public testing::Test {
scoped_refptr<CloudPrintDataSender> print_data_sender_;
scoped_ptr<MockCloudPrintDataSenderHelper> mock_helper_;
- MessageLoop message_loop_;
+ base::MessageLoop message_loop_;
content::TestBrowserThread file_thread_;
content::TestBrowserThread io_thread_;
};
@@ -253,7 +253,7 @@ TEST_F(CloudPrintDataSenderTest, CanSend) {
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
base::Bind(&CloudPrintDataSender::SendPrintData, print_data_sender));
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
}
TEST_F(CloudPrintDataSenderTest, NoData) {
@@ -264,7 +264,7 @@ TEST_F(CloudPrintDataSenderTest, NoData) {
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
base::Bind(&CloudPrintDataSender::SendPrintData, print_data_sender));
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
}
TEST_F(CloudPrintDataSenderTest, EmptyData) {
@@ -277,7 +277,7 @@ TEST_F(CloudPrintDataSenderTest, EmptyData) {
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
base::Bind(&CloudPrintDataSender::SendPrintData, print_data_sender));
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
}
// Testing for CloudPrintFlowHandler needs a mock
@@ -316,7 +316,7 @@ class CloudPrintWebDialogDelegateTest : public testing::Test {
delete mock_flow_handler_.get();
}
- MessageLoopForUI message_loop_;
+ base::MessageLoopForUI message_loop_;
content::TestBrowserThread ui_thread_;
base::WeakPtr<MockCloudPrintFlowHandler> mock_flow_handler_;
scoped_ptr<CloudPrintWebDialogDelegate> delegate_;
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud_interative_uitest.cc ('k') | chrome/browser/printing/print_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698