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

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: 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
« no previous file with comments | « chrome/browser/printing/print_job.cc ('k') | chrome/browser/printing/print_job_worker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 24ddfa3081f5f4d29fd08baf8969aea41497545f..eb41acda8cea8a723bf764d4bfe9cb9c07364a9e 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);
@@ -120,7 +120,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);
« no previous file with comments | « chrome/browser/printing/print_job.cc ('k') | chrome/browser/printing/print_job_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698