diff options
author | guohui@chromium.org <guohui@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-09 04:41:34 +0000 |
---|---|---|
committer | guohui@chromium.org <guohui@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-09 04:41:34 +0000 |
commit | e3d89ffff503cef678788fb547f2c2ab07f8527c (patch) | |
tree | 5945c6d895584de7c578fa933f44dce0a0365389 /google_apis | |
parent | ed3668b12a4a4048024f65fcbffd8a1e2aeb7676 (diff) | |
download | chromium_src-e3d89ffff503cef678788fb547f2c2ab07f8527c.zip chromium_src-e3d89ffff503cef678788fb547f2c2ab07f8527c.tar.gz chromium_src-e3d89ffff503cef678788fb547f2c2ab07f8527c.tar.bz2 |
Use embedded sign in UI for inline sign in flow
BUG=315259
Review URL: https://codereview.chromium.org/66403006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234093 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis')
-rw-r--r-- | google_apis/gaia/gaia_urls.cc | 6 | ||||
-rw-r--r-- | google_apis/gaia/gaia_urls.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/google_apis/gaia/gaia_urls.cc b/google_apis/gaia/gaia_urls.cc index 16bd9d6..97020f0 100644 --- a/google_apis/gaia/gaia_urls.cc +++ b/google_apis/gaia/gaia_urls.cc @@ -29,6 +29,7 @@ const char kOAuthWrapBridgeUrlSuffix[] = "OAuthWrapBridge"; const char kOAuth1LoginUrlSuffix[] = "OAuthLogin"; const char kOAuthRevokeTokenUrlSuffix[] = "AuthSubRevokeToken"; const char kListAccountsSuffix[] = "ListAccounts"; +const char kEmbeddedSigninSuffix[] = "EmbeddedSignIn"; // OAuth scopes const char kOAuth1LoginScope[] = "https://www.google.com/accounts/OAuthLogin"; @@ -105,6 +106,7 @@ GaiaUrls::GaiaUrls() { oauth_revoke_token_url_ = gaia_url_.Resolve(kOAuthRevokeTokenUrlSuffix); oauth1_login_url_ = gaia_url_.Resolve(kOAuth1LoginUrlSuffix); list_accounts_url_ = gaia_url_.Resolve(kListAccountsSuffix); + embedded_signin_url_ = gaia_url_.Resolve(kEmbeddedSigninSuffix); // URLs from accounts.google.com (LSO). get_oauth_token_url_ = lso_origin_url_.Resolve(kGetOAuthTokenUrlSuffix); @@ -204,6 +206,10 @@ const GURL& GaiaUrls::list_accounts_url() const { return list_accounts_url_; } +const GURL& GaiaUrls::embedded_signin_url() const { + return embedded_signin_url_; +} + const std::string& GaiaUrls::oauth1_login_scope() const { return oauth1_login_scope_; } diff --git a/google_apis/gaia/gaia_urls.h b/google_apis/gaia/gaia_urls.h index 51addeb..a1bec87a 100644 --- a/google_apis/gaia/gaia_urls.h +++ b/google_apis/gaia/gaia_urls.h @@ -33,6 +33,7 @@ class GaiaUrls { const GURL& oauth_revoke_token_url() const; const GURL& oauth1_login_url() const; const GURL& list_accounts_url() const; + const GURL& embedded_signin_url() const; const std::string& oauth1_login_scope() const; const std::string& oauth_wrap_bridge_user_info_scope() const; @@ -75,6 +76,7 @@ class GaiaUrls { GURL oauth_revoke_token_url_; GURL oauth1_login_url_; GURL list_accounts_url_; + GURL embedded_signin_url_; std::string oauth1_login_scope_; std::string oauth_wrap_bridge_user_info_scope_; |