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

Unified Diff: chrome/browser/printing/printer_query.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/printer_query.cc
diff --git a/chrome/browser/printing/printer_query.cc b/chrome/browser/printing/printer_query.cc
index 7c07fe2d259c727b2c1e73002ba114aa1b50813d..4e35f49b7def0c91e351a1b97f0e2817cf3b8126 100644
--- a/chrome/browser/printing/printer_query.cc
+++ b/chrome/browser/printing/printer_query.cc
@@ -14,12 +14,12 @@
namespace printing {
PrinterQuery::PrinterQuery()
- : io_message_loop_(MessageLoop::current()),
+ : io_message_loop_(base::MessageLoop::current()),
ALLOW_THIS_IN_INITIALIZER_LIST(worker_(new PrintJobWorker(this))),
is_print_dialog_box_shown_(false),
cookie_(PrintSettings::NewCookie()),
last_status_(PrintingContext::FAILED) {
- DCHECK_EQ(io_message_loop_->type(), MessageLoop::TYPE_IO);
+ DCHECK_EQ(io_message_loop_->type(), base::MessageLoop::TYPE_IO);
}
PrinterQuery::~PrinterQuery() {
@@ -74,7 +74,7 @@ void PrinterQuery::GetSettings(GetSettingsAskParam ask_user_for_settings,
bool has_selection,
MarginType margin_type,
const base::Closure& callback) {
- DCHECK_EQ(io_message_loop_, MessageLoop::current());
+ DCHECK_EQ(io_message_loop_, base::MessageLoop::current());
DCHECK(!is_print_dialog_box_shown_);
StartWorker(callback);

Powered by Google App Engine
This is Rietveld 408576698