Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc

Issue 182573003: Extract OAuth2AccessTokenFetcher interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing file. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc
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 86bf530e2227faaf9c9b04839e29fc12fcad75fc..065a814ca674dd283da2d752ae1fbd0a81bbcb0a 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);
« no previous file with comments | « chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.cc ('k') | google_apis/gaia/merge_session_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698