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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_engine.cc

Issue 502343002: Add account_id to signin manager notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@isauth
Patch Set: rebased Created 6 years, 4 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: chrome/browser/sync_file_system/drive_backend/sync_engine.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_engine.cc b/chrome/browser/sync_file_system/drive_backend/sync_engine.cc
index 84a2ed54e1698241d9119d0ee9a7139ee35d587d..7614d612870d7e4b8ced8d838befddc3b507d643 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_engine.cc
+++ b/chrome/browser/sync_file_system/drive_backend/sync_engine.cc
@@ -702,12 +702,14 @@ void SyncEngine::GoogleSigninFailed(const GoogleServiceAuthError& error) {
"Failed to sign in.");
}
-void SyncEngine::GoogleSigninSucceeded(const std::string& username,
+void SyncEngine::GoogleSigninSucceeded(const std::string& account_id,
+ const std::string& username,
const std::string& password) {
Initialize();
}
-void SyncEngine::GoogleSignedOut(const std::string& username) {
+void SyncEngine::GoogleSignedOut(const std::string& account_id,
+ const std::string& username) {
Reset();
UpdateServiceState(REMOTE_SERVICE_AUTHENTICATION_REQUIRED,
"User signed out.");

Powered by Google App Engine
This is Rietveld 408576698