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

Unified Diff: google_apis/gaia/gaia_urls.cc

Issue 973953002: Implement the calls to GAIA for the IDP IFrame protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Roger and Guibin's nits and comments Created 5 years, 9 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 c54aaaae212f14c8f568174cf90553c9111712db..f0e8c07d4235705b149e1aafdcc3eddde6f925e7 100644
--- a/google_apis/gaia/gaia_urls.cc
+++ b/google_apis/gaia/gaia_urls.cc
@@ -40,6 +40,7 @@ const char kClientLoginToOAuth2UrlSuffix[] = "o/oauth2/programmatic_auth";
const char kOAuth2AuthUrlSuffix[] = "o/oauth2/auth";
const char kOAuth2RevokeUrlSuffix[] = "o/oauth2/revoke";
const char kOAuth2TokenUrlSuffix[] = "o/oauth2/token";
+const char kOAuth2IFrameUrlSuffix[] = "o/oauth2/iframerpc";
// API calls from www.googleapis.com
const char kOAuth2IssueTokenUrlSuffix[] = "oauth2/v2/IssueToken";
@@ -116,6 +117,8 @@ GaiaUrls::GaiaUrls() {
oauth2_auth_url_ = lso_origin_url_.Resolve(kOAuth2AuthUrlSuffix);
oauth2_token_url_ = lso_origin_url_.Resolve(kOAuth2TokenUrlSuffix);
oauth2_revoke_url_ = lso_origin_url_.Resolve(kOAuth2RevokeUrlSuffix);
+ oauth2_iframe_url_ =
+ lso_origin_url_.Resolve(kOAuth2IFrameUrlSuffix);
// URLs from www.googleapis.com.
oauth2_issue_token_url_ =
@@ -191,6 +194,10 @@ const GURL& GaiaUrls::oauth_revoke_token_url() const {
return oauth_revoke_token_url_;
}
+const GURL& GaiaUrls::oauth2_iframe_url() const {
+ return oauth2_iframe_url_;
+}
+
const GURL& GaiaUrls::oauth1_login_url() const {
return oauth1_login_url_;
}
« 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