diff options
author | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-19 09:41:02 +0000 |
---|---|---|
committer | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-19 09:41:02 +0000 |
commit | bd7026033fc1d0729b3b36819b7b6ec4b95674e9 (patch) | |
tree | 1450d1617722ea637e21d244ceeb491d7f4d8f41 /google_apis/gaia/oauth2_access_token_fetcher.cc | |
parent | bb40c930f3fddbe433b2273e541da9645d128024 (diff) | |
download | chromium_src-bd7026033fc1d0729b3b36819b7b6ec4b95674e9.zip chromium_src-bd7026033fc1d0729b3b36819b7b6ec4b95674e9.tar.gz chromium_src-bd7026033fc1d0729b3b36819b7b6ec4b95674e9.tar.bz2 |
Clean up GaiaUrls to actually return GURLs.
It turns out that most consuming code can actually handle a GURL
return value better. Other consumers can use GURL::Resolve() which
provides nicer semantics for construction URLs that string
concatenation, which had been used before.
BUG=chromium:243889
R=akalin@chromium.org, bauerb@chromium.org, brettw@chromium.org, courage@chromium.org, isherman@chromium.org, rogerta@chromium.org, sail@chromium.org, sky@chromium.org, zelidrag@chromium.org
Review URL: https://codereview.chromium.org/23691043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis/gaia/oauth2_access_token_fetcher.cc')
-rw-r--r-- | google_apis/gaia/oauth2_access_token_fetcher.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/google_apis/gaia/oauth2_access_token_fetcher.cc b/google_apis/gaia/oauth2_access_token_fetcher.cc index 456251f..44f2d4a 100644 --- a/google_apis/gaia/oauth2_access_token_fetcher.cc +++ b/google_apis/gaia/oauth2_access_token_fetcher.cc @@ -182,7 +182,7 @@ void OAuth2AccessTokenFetcher::OnURLFetchComplete( // static GURL OAuth2AccessTokenFetcher::MakeGetAccessTokenUrl() { - return GURL(GaiaUrls::GetInstance()->oauth2_token_url()); + return GaiaUrls::GetInstance()->oauth2_token_url(); } // static |