diff options
author | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-08 22:55:55 +0000 |
---|---|---|
committer | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-08 22:55:55 +0000 |
commit | e0832490090b060c31ba3e93e74f6b8fed573dbd (patch) | |
tree | 85b8774a816cded4f45610bf4549d1b15d3fadef /chrome/common/service_messages.h | |
parent | aa90589bdd060bb7df2d950e1d648c1a91cd6b4f (diff) | |
download | chromium_src-e0832490090b060c31ba3e93e74f6b8fed573dbd.zip chromium_src-e0832490090b060c31ba3e93e74f6b8fed573dbd.tar.gz chromium_src-e0832490090b060c31ba3e93e74f6b8fed573dbd.tar.bz2 |
New Cloud Print Private API.
Renamed cloudPrintPrivate.setCredentials -> cloudPrintPrivate.setupConnector
Added cloudPrintPrivate.getHostName
Added cloudPrintPrivate.getPrinters
Extracted test logic from cloud_print_private_api.cc
BUG=137129
Review URL: https://chromiumcodereview.appspot.com/11037005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160734 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/service_messages.h')
-rw-r--r-- | chrome/common/service_messages.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/common/service_messages.h b/chrome/common/service_messages.h index 68f208a..8dd3157 100644 --- a/chrome/common/service_messages.h +++ b/chrome/common/service_messages.h @@ -4,6 +4,7 @@ // Multiply-included message file, no traditional include guard. #include <string> +#include <vector> #include "chrome/common/cloud_print/cloud_print_proxy_info.h" #include "ipc/ipc_channel_handle.h" @@ -27,10 +28,12 @@ IPC_MESSAGE_CONTROL1(ServiceMsg_EnableCloudPrintProxy, // Tell the service process to enable the cloud proxy passing in the OAuth2 // auth code of a robot account. -IPC_MESSAGE_CONTROL3(ServiceMsg_EnableCloudPrintProxyWithRobot, +IPC_MESSAGE_CONTROL5(ServiceMsg_EnableCloudPrintProxyWithRobot, std::string /* robot_auth_code */, - std::string /* robot_email*/, - std::string /* user_email*/) + std::string /* robot_email */, + std::string /* user_email */, + bool /* connect_new_printers */, + std::vector<std::string> /* printer_blacklist */) // Tell the service process to disable the cloud proxy. IPC_MESSAGE_CONTROL0(ServiceMsg_DisableCloudPrintProxy) |