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

Side by Side Diff: chrome/service/cloud_print/cloud_print_auth.h

Issue 10928017: Moving google_apis and GaiaClient to src/google_apis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/service/DEPS ('k') | chrome/service/cloud_print/cloud_print_auth.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/values.h" 10 #include "base/values.h"
11 #include "chrome/common/net/gaia/gaia_oauth_client.h"
12 #include "chrome/service/cloud_print/cloud_print_url_fetcher.h" 11 #include "chrome/service/cloud_print/cloud_print_url_fetcher.h"
12 #include "google_apis/gaia/gaia_oauth_client.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 14
15 // CloudPrintAuth is a class to handle login, token refresh, and other 15 // CloudPrintAuth is a class to handle login, token refresh, and other
16 // authentication tasks for Cloud Print. 16 // authentication tasks for Cloud Print.
17 // CloudPrintAuth will create new robot account for this proxy if needed. 17 // CloudPrintAuth will create new robot account for this proxy if needed.
18 // CloudPrintAuth will obtain new OAuth token. 18 // CloudPrintAuth will obtain new OAuth token.
19 // CloudPrintAuth will schedule periodic OAuth token refresh 19 // CloudPrintAuth will schedule periodic OAuth token refresh
20 // It is running in the same thread as CloudPrintProxyBackend::Core. 20 // It is running in the same thread as CloudPrintProxyBackend::Core.
21 class CloudPrintAuth 21 class CloudPrintAuth
22 : public base::RefCountedThreadSafe<CloudPrintAuth>, 22 : public base::RefCountedThreadSafe<CloudPrintAuth>,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 std::string robot_email_; 106 std::string robot_email_;
107 // 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
108 // get the robot account. 108 // get the robot account.
109 std::string client_login_token_; 109 std::string client_login_token_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(CloudPrintAuth); 111 DISALLOW_COPY_AND_ASSIGN(CloudPrintAuth);
112 }; 112 };
113 113
114 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_AUTH_H_ 114 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_AUTH_H_
115 115
OLDNEW
« no previous file with comments | « chrome/service/DEPS ('k') | chrome/service/cloud_print/cloud_print_auth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698