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

Unified Diff: chrome/service/cloud_print/cloud_print_proxy.h

Issue 208653010: Use service process to collect printers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/common/service_messages.h ('k') | chrome/service/cloud_print/cloud_print_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/cloud_print_proxy.h
diff --git a/chrome/service/cloud_print/cloud_print_proxy.h b/chrome/service/cloud_print/cloud_print_proxy.h
index 71c2d66662b2b980c13582daba3bf031f20a0a6a..3c6ddbbcd5bdb6b169bd4ff9dc5e1bfd90ab2587 100644
--- a/chrome/service/cloud_print/cloud_print_proxy.h
+++ b/chrome/service/cloud_print/cloud_print_proxy.h
@@ -51,6 +51,8 @@ class CloudPrintProxy : public CloudPrintProxyFrontend,
void DisableForUser();
// Returns the proxy info.
void GetProxyInfo(CloudPrintProxyInfo* info);
+ // Return accessible printers.
+ void GetPrinters(std::vector<std::string>* printers);
// Launches a browser to see if the proxy policy has been set.
void CheckCloudPrintProxyPolicy();
@@ -92,8 +94,6 @@ class CloudPrintProxy : public CloudPrintProxyFrontend,
// This is set to true when the Cloud Print proxy is enabled and after
// successful authentication with the Cloud Print service.
bool enabled_;
- // Connector settings.
- ConnectorSettings settings_;
// This is a cleanup class for unregistering printers on proxy disable.
scoped_ptr<CloudPrintWipeout> wipeout_;
« no previous file with comments | « chrome/common/service_messages.h ('k') | chrome/service/cloud_print/cloud_print_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698