diff options
author | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-08 17:51:42 +0000 |
---|---|---|
committer | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-08 17:51:42 +0000 |
commit | 0dbc544598f611bbb97b9e6ec706aa902041a527 (patch) | |
tree | af77ba19142c80b21513443f3420f272c5645e50 /google_apis | |
parent | 66f2b0ee78d87ae28483e20b8a4ac9b16fe12374 (diff) | |
download | chromium_src-0dbc544598f611bbb97b9e6ec706aa902041a527.zip chromium_src-0dbc544598f611bbb97b9e6ec706aa902041a527.tar.gz chromium_src-0dbc544598f611bbb97b9e6ec706aa902041a527.tar.bz2 |
Hide unused constant from public interface.
kGaiaOAuth2Url where used only by Cloud Print code and it was replaced by GaiaUrls. Not it's used only inside of unittest.
BUG=236756
Review URL: https://chromiumcodereview.appspot.com/14623017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198930 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis')
-rw-r--r-- | google_apis/gaia/gaia_oauth_client.h | 3 | ||||
-rw-r--r-- | google_apis/gaia/gaia_oauth_client_unittest.cc | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/google_apis/gaia/gaia_oauth_client.h b/google_apis/gaia/gaia_oauth_client.h index a03b134..43e0c03 100644 --- a/google_apis/gaia/gaia_oauth_client.h +++ b/google_apis/gaia/gaia_oauth_client.h @@ -17,9 +17,6 @@ class URLRequestContextGetter; // A helper class to get and refresh OAuth tokens given an authorization code. namespace gaia { -static const char kGaiaOAuth2Url[] = - "https://accounts.google.com/o/oauth2/token"; - struct OAuthClientInfo { std::string client_id; std::string client_secret; diff --git a/google_apis/gaia/gaia_oauth_client_unittest.cc b/google_apis/gaia/gaia_oauth_client_unittest.cc index 445fa48..ad14ab9 100644 --- a/google_apis/gaia/gaia_oauth_client_unittest.cc +++ b/google_apis/gaia/gaia_oauth_client_unittest.cc @@ -23,6 +23,9 @@ using ::testing::_; namespace { + +const char kGaiaOAuth2Url[] = "https://accounts.google.com/o/oauth2/token"; + // Responds as though OAuth returned from the server. class MockOAuthFetcher : public net::TestURLFetcher { public: |