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 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/values.h" | 10 #include "base/values.h" |
12 #include "chrome/common/net/gaia/gaia_oauth_client.h" | 11 #include "chrome/common/net/gaia/gaia_oauth_client.h" |
13 #include "chrome/service/cloud_print/cloud_print_url_fetcher.h" | 12 #include "chrome/service/cloud_print/cloud_print_url_fetcher.h" |
14 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
15 | 14 |
16 // CloudPrintAuth is a class to handle login, token refresh, and other | 15 // CloudPrintAuth is a class to handle login, token refresh, and other |
17 // authentication tasks for Cloud Print. | 16 // authentication tasks for Cloud Print. |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 std::string robot_email_; | 106 std::string robot_email_; |
108 // client login token used to authenticate request to cloud print server to | 107 // client login token used to authenticate request to cloud print server to |
109 // get the robot account. | 108 // get the robot account. |
110 std::string client_login_token_; | 109 std::string client_login_token_; |
111 | 110 |
112 DISALLOW_COPY_AND_ASSIGN(CloudPrintAuth); | 111 DISALLOW_COPY_AND_ASSIGN(CloudPrintAuth); |
113 }; | 112 }; |
114 | 113 |
115 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_AUTH_H_ | 114 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_AUTH_H_ |
116 | 115 |
OLD | NEW |