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

Unified Diff: chrome/browser/sync/signin_manager.cc

Issue 7551026: Adding service_name to GaiaOAuthFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replaced two instances of kSyncService with kDeviceManagementService Created 9 years, 5 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
« no previous file with comments | « chrome/browser/sync/signin_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/signin_manager.cc
diff --git a/chrome/browser/sync/signin_manager.cc b/chrome/browser/sync/signin_manager.cc
index 2c06078e3242f3e58fd35b921d5c133ebed200b6..bdccf86705d08f8eb5e299052d8cadc530ee0202 100644
--- a/chrome/browser/sync/signin_manager.cc
+++ b/chrome/browser/sync/signin_manager.cc
@@ -84,6 +84,7 @@ void SigninManager::StartOAuthSignIn() {
oauth_login_.reset(new GaiaOAuthFetcher(this,
profile_->GetRequestContext(),
profile_,
+ GaiaConstants::kSyncService,
kSyncOAuth2Scope));
oauth_login_->StartGetOAuthToken();
}
@@ -237,7 +238,8 @@ void SigninManager::OnOAuthGetAccessTokenFailure(
VLOG(1) << "SigninManager::OnOAuthGetAccessTokenFailure";
}
-void SigninManager::OnOAuthWrapBridgeSuccess(const std::string& token,
+void SigninManager::OnOAuthWrapBridgeSuccess(const std::string& service_name,
+ const std::string& token,
const std::string& expires_in) {
VLOG(1) << "SigninManager::OnOAuthWrapBridgeSuccess";
}
« no previous file with comments | « chrome/browser/sync/signin_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698