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

Unified Diff: google_apis/gaia/gaia_urls.cc

Issue 265563002: Revert of Use new people.get api instead of oauth2/v1/userinfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « google_apis/gaia/gaia_urls.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/gaia_urls.cc
diff --git a/google_apis/gaia/gaia_urls.cc b/google_apis/gaia/gaia_urls.cc
index 5abff9cb5247c19c6df78557f96b115f30a91b9d..0b44a911c743426e55c7893de8147f2e3172cb22 100644
--- a/google_apis/gaia/gaia_urls.cc
+++ b/google_apis/gaia/gaia_urls.cc
@@ -42,7 +42,7 @@
// API calls from www.googleapis.com
const char kOAuth2IssueTokenUrlSuffix[] = "oauth2/v2/IssueToken";
const char kOAuth2TokenInfoUrlSuffix[] = "oauth2/v2/tokeninfo";
-const char kPeopleGetUrlSuffix[] = "plus/v1/people/me";
+const char kOAuthUserInfoUrlSuffix[] = "oauth2/v1/userinfo";
void GetSwitchValueWithDefault(const char* switch_value,
const char* default_value,
@@ -118,8 +118,8 @@
google_apis_origin_url_.Resolve(kOAuth2IssueTokenUrlSuffix);
oauth2_token_info_url_ =
google_apis_origin_url_.Resolve(kOAuth2TokenInfoUrlSuffix);
- people_get_url_ =
- google_apis_origin_url_.Resolve(kPeopleGetUrlSuffix);
+ oauth_user_info_url_ =
+ google_apis_origin_url_.Resolve(kOAuthUserInfoUrlSuffix);
gaia_login_form_realm_ = gaia_url_;
}
@@ -179,8 +179,8 @@
return oauth_wrap_bridge_url_;
}
-const GURL& GaiaUrls::people_get_url() const {
- return people_get_url_;
+const GURL& GaiaUrls::oauth_user_info_url() const {
+ return oauth_user_info_url_;
}
const GURL& GaiaUrls::oauth_revoke_token_url() const {
« no previous file with comments | « google_apis/gaia/gaia_urls.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698