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

Unified Diff: chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc

Issue 12096060: browser: Start moving application_lifetime.h functions into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/lifetime/application_lifetime_win.cc ('k') | chrome/browser/printing/print_dialog_cloud.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cf16173485d3ef21574544c5feac59afd0d6239d..825860026c290fed69ebb1fc39cdd383b5790049 100644
--- a/chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc
+++ b/chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc
@@ -154,7 +154,7 @@ bool CloudPrintProxyService::ShowTokenExpiredNotification() {
GURL(), title, message, GURL(), string16(),
token_expired_delegate_.get(), profile_);
// Keep the browser alive while we are showing the notification.
- browser::StartKeepAlive();
+ chrome::StartKeepAlive();
return true;
}
@@ -182,7 +182,7 @@ void CloudPrintProxyService::TokenExpiredNotificationDone(bool keep_alive) {
token_expired_delegate_->id());
token_expired_delegate_ = NULL;
if (!keep_alive)
- browser::EndKeepAlive();
+ chrome::EndKeepAlive();
}
}
@@ -208,8 +208,8 @@ bool CloudPrintProxyService::ApplyCloudPrintConnectorPolicy() {
}
void CloudPrintProxyService::OnCloudPrintSetupClosed() {
- MessageLoop::current()->PostTask(
- FROM_HERE, base::Bind(&browser::EndKeepAlive));
+ MessageLoop::current()->PostTask(FROM_HERE,
+ base::Bind(&chrome::EndKeepAlive));
}
void CloudPrintProxyService::RefreshCloudPrintProxyStatus() {
« no previous file with comments | « chrome/browser/lifetime/application_lifetime_win.cc ('k') | chrome/browser/printing/print_dialog_cloud.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698