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

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

Issue 11037005: New Cloud Print Private API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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.h
diff --git a/chrome/browser/printing/cloud_print/cloud_print_proxy_service.h b/chrome/browser/printing/cloud_print/cloud_print_proxy_service.h
index 5d1e5dcc1a5c7b7ed3c4529b0b67e2d68f496116..e8807684aab5cb3b51912e20460d7bd62db77f51 100644
--- a/chrome/browser/printing/cloud_print/cloud_print_proxy_service.h
+++ b/chrome/browser/printing/cloud_print/cloud_print_proxy_service.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_
#include <string>
+#include <vector>
#include "base/basictypes.h"
#include "base/callback_forward.h"
@@ -39,9 +40,12 @@ class CloudPrintProxyService
// Enables/disables cloud printing for the user
virtual void EnableForUser(const std::string& lsid, const std::string& email);
- virtual void EnableForUserWithRobot(const std::string& robot_auth_code,
- const std::string& robot_email,
- const std::string& user_email);
+ virtual void EnableForUserWithRobot(
+ const std::string& robot_auth_code,
+ const std::string& robot_email,
+ const std::string& user_email,
+ bool connect_new_printers,
+ const std::vector<std::string>& printer_blacklist);
virtual void DisableForUser();
// Query the service process for the status of the cloud print proxy and
@@ -77,9 +81,12 @@ class CloudPrintProxyService
// Methods that send an IPC to the service.
void RefreshCloudPrintProxyStatus();
void EnableCloudPrintProxy(const std::string& lsid, const std::string& email);
- void EnableCloudPrintProxyWithRobot(const std::string& robot_auth_code,
- const std::string& robot_email,
- const std::string& user_email);
+ void EnableCloudPrintProxyWithRobot(
+ const std::string& robot_auth_code,
+ const std::string& robot_email,
+ const std::string& user_email,
+ bool connect_new_printers,
+ const std::vector<std::string>& printer_blacklist);
void DisableCloudPrintProxy();
// Callback that gets the cloud print proxy info.

Powered by Google App Engine
This is Rietveld 408576698