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

Unified Diff: chrome/browser/printing/cloud_print/cloud_print_proxy_service.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.cc
diff --git a/chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc b/chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc
index 682dbc0192b0a6ad73395b54838aeec3b5d59132..2fffdb34e3c660ddb28a4627cc894600a8e5bfc6 100644
--- a/chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc
+++ b/chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc
@@ -114,22 +114,23 @@ bool CloudPrintProxyService::ApplyCloudPrintConnectorPolicy() {
DisableForUser();
profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail, std::string());
if (enforcing_connector_policy_) {
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE,
base::Bind(&CloudPrintProxyService::RefreshCloudPrintProxyStatus,
weak_factory_.GetWeakPtr()));
}
return false;
} else if (enforcing_connector_policy_) {
- MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure());
+ base::MessageLoop::current()->PostTask(FROM_HERE,
+ base::MessageLoop::QuitClosure());
}
}
return true;
}
void CloudPrintProxyService::OnCloudPrintSetupClosed() {
- MessageLoop::current()->PostTask(FROM_HERE,
- base::Bind(&chrome::EndKeepAlive));
+ base::MessageLoop::current()->PostTask(FROM_HERE,
+ base::Bind(&chrome::EndKeepAlive));
}
void CloudPrintProxyService::GetPrintersAvalibleForRegistration(

Powered by Google App Engine
This is Rietveld 408576698