diff options
author | msarda@chromium.org <msarda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-05 06:59:37 +0000 |
---|---|---|
committer | msarda@chromium.org <msarda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-05 06:59:37 +0000 |
commit | 596f0a9d480d4af122d761b01560484d9a796f13 (patch) | |
tree | 3110a66dfee88c9cc5cacfb4de3a19c0ffde93ba /components | |
parent | 34ba1ffb32e6b517f3051ae0cc32cdf783aab47d (diff) | |
download | chromium_src-596f0a9d480d4af122d761b01560484d9a796f13.zip chromium_src-596f0a9d480d4af122d761b01560484d9a796f13.tar.gz chromium_src-596f0a9d480d4af122d761b01560484d9a796f13.tar.bz2 |
Extract OAuth2AccessTokenFetcher interface.
This CL extracts the interface of OAuth2AccessTokenFetcher as the
implementation for mobile is different .
It renames the existing OAuth2AccessTokenFetcher to
OAuth2AccessTokenFetcherImpl.
TBR=davemoore@chromium.org
BUG=NONE
Review URL: https://codereview.chromium.org/182573003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components')
-rw-r--r-- | components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc b/components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc index 86bf530..065a814 100644 --- a/components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc +++ b/components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc @@ -19,7 +19,7 @@ #if !defined(OS_ANDROID) #include "google_apis/gaia/oauth2_access_token_consumer.h" -#include "google_apis/gaia/oauth2_access_token_fetcher.h" +#include "google_apis/gaia/oauth2_access_token_fetcher_impl.h" #endif namespace policy { @@ -134,7 +134,7 @@ void CloudPolicyClientRegistrationHelper::LoginTokenHelper::FetchAccessToken( // Start fetching an OAuth2 access token for the device management and // userinfo services. oauth2_access_token_fetcher_.reset( - new OAuth2AccessTokenFetcher(this, context)); + new OAuth2AccessTokenFetcherImpl(this, context)); std::vector<std::string> scopes; scopes.push_back(GaiaConstants::kDeviceManagementServiceOAuth); scopes.push_back(kServiceScopeGetUserInfo); |