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

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: Fix android trybots 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 f5ea2a975feeb2bfb21f78df431161902af2c272..c2ca930e24397fe9fbef61f66455aa41de0dfaf4 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.");
« no previous file with comments | « chrome/browser/sync_file_system/drive_backend/sync_engine.h ('k') | chrome/browser/ui/app_list/app_list_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698