diff options
author | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-12 16:11:30 +0000 |
---|---|---|
committer | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-12 16:11:30 +0000 |
commit | 95ea945bb36cfca5438da44096283c8025aa3687 (patch) | |
tree | 074e25550c24e8412caed0047a8ffac3a018a637 /google_apis/gaia/gaia_auth_fetcher.cc | |
parent | a7789f2e0b5652a2c81c08c5f12dce5ad0171e6a (diff) | |
download | chromium_src-95ea945bb36cfca5438da44096283c8025aa3687.zip chromium_src-95ea945bb36cfca5438da44096283c8025aa3687.tar.gz chromium_src-95ea945bb36cfca5438da44096283c8025aa3687.tar.bz2 |
Remove command-line flags for OAuth scopes.
There is no reason why one would want to switch to alternate OAuth
scopes, because these are identifiers and not URLs to make requests
to.
BUG=chromium:350299
TBR=bauerb@chromium.org
Review URL: https://codereview.chromium.org/190353002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256541 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis/gaia/gaia_auth_fetcher.cc')
-rw-r--r-- | google_apis/gaia/gaia_auth_fetcher.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/google_apis/gaia/gaia_auth_fetcher.cc b/google_apis/gaia/gaia_auth_fetcher.cc index 96b698d3..01e9567 100644 --- a/google_apis/gaia/gaia_auth_fetcher.cc +++ b/google_apis/gaia/gaia_auth_fetcher.cc @@ -305,7 +305,7 @@ std::string GaiaAuthFetcher::MakeIssueAuthTokenBody( // static std::string GaiaAuthFetcher::MakeGetAuthCodeBody() { std::string encoded_scope = net::EscapeUrlEncodedData( - GaiaUrls::GetInstance()->oauth1_login_scope(), true); + GaiaConstants::kOAuth1LoginScope, true); std::string encoded_client_id = net::EscapeUrlEncodedData( GaiaUrls::GetInstance()->oauth2_chrome_client_id(), true); return base::StringPrintf(kClientLoginToOAuth2BodyFormat, @@ -317,7 +317,7 @@ std::string GaiaAuthFetcher::MakeGetAuthCodeBody() { std::string GaiaAuthFetcher::MakeGetTokenPairBody( const std::string& auth_code) { std::string encoded_scope = net::EscapeUrlEncodedData( - GaiaUrls::GetInstance()->oauth1_login_scope(), true); + GaiaConstants::kOAuth1LoginScope, true); std::string encoded_client_id = net::EscapeUrlEncodedData( GaiaUrls::GetInstance()->oauth2_chrome_client_id(), true); std::string encoded_client_secret = net::EscapeUrlEncodedData( |