| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_H_ | 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_H_ |
| 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_H_ | 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 ServiceProcessPrefs* service_prefs_; | 82 ServiceProcessPrefs* service_prefs_; |
| 83 // This class does not own this. If non-NULL, It is guaranteed to remain | 83 // This class does not own this. If non-NULL, It is guaranteed to remain |
| 84 // valid for the lifetime of this class. | 84 // valid for the lifetime of this class. |
| 85 Client* client_; | 85 Client* client_; |
| 86 // The email address of the account used to authenticate to the Cloud Print | 86 // The email address of the account used to authenticate to the Cloud Print |
| 87 // service. | 87 // service. |
| 88 std::string user_email_; | 88 std::string user_email_; |
| 89 // This is set to true when the Cloud Print proxy is enabled and after | 89 // This is set to true when the Cloud Print proxy is enabled and after |
| 90 // successful authentication with the Cloud Print service. | 90 // successful authentication with the Cloud Print service. |
| 91 bool enabled_; | 91 bool enabled_; |
| 92 // This is initialized after a successful call to one of the Enable* methods. | 92 // Connector settings. |
| 93 // It is not cleared in DisableUser. | 93 ConnectorSettings settings_; |
| 94 std::string proxy_id_; | |
| 95 // Cloud Print server url. | |
| 96 GURL cloud_print_server_url_; | |
| 97 // This is a cleanup class for unregistering printers on proxy disable. | 94 // This is a cleanup class for unregistering printers on proxy disable. |
| 98 scoped_ptr<CloudPrintWipeout> wipeout_; | 95 scoped_ptr<CloudPrintWipeout> wipeout_; |
| 99 | 96 |
| 100 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxy); | 97 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxy); |
| 101 }; | 98 }; |
| 102 | 99 |
| 103 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_H_ | 100 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_H_ |
| OLD | NEW |