diff options
Diffstat (limited to 'chrome/service/cloud_print/cloud_print_proxy.h')
-rw-r--r-- | chrome/service/cloud_print/cloud_print_proxy.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/service/cloud_print/cloud_print_proxy.h b/chrome/service/cloud_print/cloud_print_proxy.h index d30957e..dff7e76 100644 --- a/chrome/service/cloud_print/cloud_print_proxy.h +++ b/chrome/service/cloud_print/cloud_print_proxy.h @@ -23,8 +23,8 @@ class CloudPrintProxy : public CloudPrintProxyFrontend, class Client { public: virtual ~Client() {} - virtual void OnCloudPrintProxyEnabled() {} - virtual void OnCloudPrintProxyDisabled() {} + virtual void OnCloudPrintProxyEnabled(bool persist_state) {} + virtual void OnCloudPrintProxyDisabled(bool persist_state) {} }; CloudPrintProxy(); virtual ~CloudPrintProxy(); @@ -44,13 +44,14 @@ class CloudPrintProxy : public CloudPrintProxyFrontend, return cloud_print_email_; } - // Notification methods from the backend. Called on UI thread. + // CloudPrintProxyFrontend implementation. Called on UI thread. virtual void OnPrinterListAvailable( const printing::PrinterList& printer_list); virtual void OnAuthenticated(const std::string& cloud_print_token, const std::string& cloud_print_xmpp_token, const std::string& email); virtual void OnAuthenticationFailed(); + virtual void OnPrintSystemUnavailable(); protected: void Shutdown(); |