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

Unified Diff: chrome/browser/printing/print_job_unittest.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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_job_unittest.cc
diff --git a/chrome/browser/printing/print_job_unittest.cc b/chrome/browser/printing/print_job_unittest.cc
index f42a7299bc8327bdaf2652b0e4d31da4c382290c..4e4c2fc6399abf1689c98d153c98fcd21aaa70e5 100644
--- a/chrome/browser/printing/print_job_unittest.cc
+++ b/chrome/browser/printing/print_job_unittest.cc
@@ -46,7 +46,7 @@ class TestOwner : public printing::PrintJobWorkerOwner {
settings_ = worker->printing_context()->settings();
return worker;
}
- virtual MessageLoop* message_loop() OVERRIDE {
+ virtual base::MessageLoop* message_loop() OVERRIDE {
EXPECT_FALSE(true);
return NULL;
}
@@ -93,7 +93,7 @@ TEST_F(PrintJobTest, SimplePrint) {
// known lifetime.
// This message loop is actually never run.
- MessageLoop current;
+ base::MessageLoop current;
content::NotificationRegistrar registrar_;
TestPrintNotifObserv observ;
@@ -101,7 +101,7 @@ TEST_F(PrintJobTest, SimplePrint) {
content::NotificationService::AllSources());
volatile bool check = false;
scoped_refptr<printing::PrintJob> job(new TestPrintJob(&check));
- EXPECT_EQ(MessageLoop::current(), job->message_loop());
+ EXPECT_EQ(base::MessageLoop::current(), job->message_loop());
scoped_refptr<TestOwner> owner(new TestOwner);
TestSource source;
job->Initialize(owner, &source, 1);
@@ -112,7 +112,7 @@ TEST_F(PrintJobTest, SimplePrint) {
TEST_F(PrintJobTest, SimplePrintLateInit) {
volatile bool check = false;
- MessageLoop current;
+ base::MessageLoop current;
scoped_refptr<printing::PrintJob> job(new TestPrintJob(&check));
job = NULL;
EXPECT_TRUE(check);

Powered by Google App Engine
This is Rietveld 408576698