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_AUTH_H_ | 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_AUTH_H_ |
6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_AUTH_H_ | 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_AUTH_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/values.h" | 11 #include "base/values.h" |
11 #include "chrome/service/cloud_print/cloud_print_url_fetcher.h" | 12 #include "chrome/service/cloud_print/cloud_print_url_fetcher.h" |
12 #include "google_apis/gaia/gaia_oauth_client.h" | 13 #include "google_apis/gaia/gaia_oauth_client.h" |
13 #include "url/gurl.h" | 14 #include "url/gurl.h" |
14 | 15 |
15 namespace cloud_print { | 16 namespace cloud_print { |
16 | 17 |
17 // CloudPrintAuth is a class to handle login, token refresh, and other | 18 // CloudPrintAuth is a class to handle login, token refresh, and other |
18 // authentication tasks for Cloud Print. | 19 // authentication tasks for Cloud Print. |
19 // CloudPrintAuth will create new robot account for this proxy if needed. | 20 // CloudPrintAuth will create new robot account for this proxy if needed. |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 // get the robot account. | 101 // get the robot account. |
101 std::string client_login_token_; | 102 std::string client_login_token_; |
102 | 103 |
103 DISALLOW_COPY_AND_ASSIGN(CloudPrintAuth); | 104 DISALLOW_COPY_AND_ASSIGN(CloudPrintAuth); |
104 }; | 105 }; |
105 | 106 |
106 } // namespace cloud_print | 107 } // namespace cloud_print |
107 | 108 |
108 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_AUTH_H_ | 109 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_AUTH_H_ |
109 | 110 |
OLD | NEW |