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

Unified Diff: chrome/service/service_ipc_server.cc

Issue 3450021: Cloud print proxy management UI. (Closed)
Patch Set: Fix nits. Created 10 years, 3 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/service/service_ipc_server.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_ipc_server.cc
diff --git a/chrome/service/service_ipc_server.cc b/chrome/service/service_ipc_server.cc
index 5663f4925f86cf1a3eb361a72090bf5ff592a558..958eade3f3d0f529450fba8adb9817dc546509e2 100644
--- a/chrome/service/service_ipc_server.cc
+++ b/chrome/service/service_ipc_server.cc
@@ -93,9 +93,11 @@ void ServiceIPCServer::OnEnableCloudPrintProxyWithTokens(
NOTIMPLEMENTED();
}
-void ServiceIPCServer::OnIsCloudPrintProxyEnabled(bool* is_enabled,
- std::string* email) {
- *is_enabled = g_service_process->GetCloudPrintProxy()->IsEnabled(email);
+void ServiceIPCServer::OnIsCloudPrintProxyEnabled() {
+ std::string email;
+ bool is_enabled = g_service_process->GetCloudPrintProxy()->IsEnabled(&email);
+ channel_->Send(new ServiceHostMsg_CloudPrintProxy_IsEnabled(is_enabled,
+ email));
}
void ServiceIPCServer::OnEnableRemotingWithTokens(
« no previous file with comments | « chrome/service/service_ipc_server.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698