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

Side by Side Diff: google_apis/gaia/gaia_urls.cc

Issue 14169010: Remove support for ClientOAuth from GaiaAuthFetcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 7 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 | « google_apis/gaia/gaia_urls.h ('k') | google_apis/gaia/google_service_auth_error.h » ('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 #include "google_apis/gaia/gaia_urls.h" 5 #include "google_apis/gaia/gaia_urls.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "google_apis/gaia/gaia_switches.h" 8 #include "google_apis/gaia/gaia_switches.h"
9 #include "google_apis/google_api_keys.h" 9 #include "google_apis/google_api_keys.h"
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 service_logout_url_ = gaia_url_base + kServiceLogoutUrlSuffix; 104 service_logout_url_ = gaia_url_base + kServiceLogoutUrlSuffix;
105 issue_auth_token_url_ = gaia_url_base + kIssueAuthTokenUrlSuffix; 105 issue_auth_token_url_ = gaia_url_base + kIssueAuthTokenUrlSuffix;
106 get_user_info_url_ = gaia_url_base + kGetUserInfoUrlSuffix; 106 get_user_info_url_ = gaia_url_base + kGetUserInfoUrlSuffix;
107 token_auth_url_ = gaia_url_base + kTokenAuthUrlSuffix; 107 token_auth_url_ = gaia_url_base + kTokenAuthUrlSuffix;
108 merge_session_url_ = gaia_url_base + kMergeSessionUrlSuffix; 108 merge_session_url_ = gaia_url_base + kMergeSessionUrlSuffix;
109 oauth_get_access_token_url_ = gaia_url_base + 109 oauth_get_access_token_url_ = gaia_url_base +
110 kOAuthGetAccessTokenUrlSuffix; 110 kOAuthGetAccessTokenUrlSuffix;
111 oauth_wrap_bridge_url_ = gaia_url_base + kOAuthWrapBridgeUrlSuffix; 111 oauth_wrap_bridge_url_ = gaia_url_base + kOAuthWrapBridgeUrlSuffix;
112 oauth_revoke_token_url_ = gaia_url_base + kOAuthRevokeTokenUrlSuffix; 112 oauth_revoke_token_url_ = gaia_url_base + kOAuthRevokeTokenUrlSuffix;
113 oauth1_login_url_ = gaia_url_base + kOAuth1LoginUrlSuffix; 113 oauth1_login_url_ = gaia_url_base + kOAuth1LoginUrlSuffix;
114 client_oauth_url_ = gaia_url_base + kClientOAuthUrlSuffix;
115 114
116 // URLs from accounts.google.com (LSO). 115 // URLs from accounts.google.com (LSO).
117 get_oauth_token_url_ = lso_origin_url_ + kGetOAuthTokenUrlSuffix; 116 get_oauth_token_url_ = lso_origin_url_ + kGetOAuthTokenUrlSuffix;
118 std::string client_login_to_oauth2_url = lso_origin_url_ + 117 std::string client_login_to_oauth2_url = lso_origin_url_ +
119 kClientLoginToOAuth2UrlSuffix; 118 kClientLoginToOAuth2UrlSuffix;
120 std::string oauth2_token_url = lso_origin_url_ + kOAuth2TokenUrlSuffix; 119 std::string oauth2_token_url = lso_origin_url_ + kOAuth2TokenUrlSuffix;
121 oauth2_revoke_url_ = lso_origin_url_ + kOAuth2RevokeUrlSuffix; 120 oauth2_revoke_url_ = lso_origin_url_ + kOAuth2RevokeUrlSuffix;
122 121
123 // URLs from www.googleapis.com. 122 // URLs from www.googleapis.com.
124 oauth_wrap_bridge_user_info_scope_ = google_apis_origin_url_ + 123 oauth_wrap_bridge_user_info_scope_ = google_apis_origin_url_ +
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 } 210 }
212 211
213 const std::string& GaiaUrls::oauth1_login_scope() { 212 const std::string& GaiaUrls::oauth1_login_scope() {
214 return oauth1_login_scope_; 213 return oauth1_login_scope_;
215 } 214 }
216 215
217 const std::string& GaiaUrls::oauth_wrap_bridge_user_info_scope() { 216 const std::string& GaiaUrls::oauth_wrap_bridge_user_info_scope() {
218 return oauth_wrap_bridge_user_info_scope_; 217 return oauth_wrap_bridge_user_info_scope_;
219 } 218 }
220 219
221 const std::string& GaiaUrls::client_oauth_url() {
222 return client_oauth_url_;
223 }
224
225 const std::string& GaiaUrls::oauth2_chrome_client_id() { 220 const std::string& GaiaUrls::oauth2_chrome_client_id() {
226 return oauth2_chrome_client_id_; 221 return oauth2_chrome_client_id_;
227 } 222 }
228 223
229 const std::string& GaiaUrls::oauth2_chrome_client_secret() { 224 const std::string& GaiaUrls::oauth2_chrome_client_secret() {
230 return oauth2_chrome_client_secret_; 225 return oauth2_chrome_client_secret_;
231 } 226 }
232 227
233 const std::string& GaiaUrls::client_login_to_oauth2_url() { 228 const std::string& GaiaUrls::client_login_to_oauth2_url() {
234 return client_login_to_oauth2_url_; 229 return client_login_to_oauth2_url_;
235 } 230 }
236 231
237 const std::string& GaiaUrls::oauth2_token_url() { 232 const std::string& GaiaUrls::oauth2_token_url() {
238 return oauth2_token_url_; 233 return oauth2_token_url_;
239 } 234 }
240 235
241 const std::string& GaiaUrls::oauth2_issue_token_url() { 236 const std::string& GaiaUrls::oauth2_issue_token_url() {
242 return oauth2_issue_token_url_; 237 return oauth2_issue_token_url_;
243 } 238 }
244 239
245 const std::string& GaiaUrls::oauth2_revoke_url() { 240 const std::string& GaiaUrls::oauth2_revoke_url() {
246 return oauth2_revoke_url_; 241 return oauth2_revoke_url_;
247 } 242 }
248 243
249 const std::string& GaiaUrls::gaia_login_form_realm() { 244 const std::string& GaiaUrls::gaia_login_form_realm() {
250 return gaia_login_form_realm_; 245 return gaia_login_form_realm_;
251 } 246 }
OLDNEW
« no previous file with comments | « google_apis/gaia/gaia_urls.h ('k') | google_apis/gaia/google_service_auth_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698