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

Unified Diff: chrome/browser/chromeos/login/users/fake_user_manager.cc

Issue 756363003: Revert of Sync starting language and input method preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years 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/chromeos/login/users/fake_user_manager.cc
diff --git a/chrome/browser/chromeos/login/users/fake_user_manager.cc b/chrome/browser/chromeos/login/users/fake_user_manager.cc
index f5f118b49aa333a82d2bfa8556d9e6c3b0955af2..03f5a3daef8c6b38bd8964eca953a63e821ff3db 100644
--- a/chrome/browser/chromeos/login/users/fake_user_manager.cc
+++ b/chrome/browser/chromeos/login/users/fake_user_manager.cc
@@ -167,12 +167,6 @@
active_user_id_ = email;
ProfileHelper::Get()->ActiveUserHashChanged(
ProfileHelper::GetUserIdHashByUserIdForTesting(email));
- if (user_list_.size() && !active_user_id_.empty()) {
- for (user_manager::UserList::const_iterator it = user_list_.begin();
- it != user_list_.end(); ++it) {
- (*it)->set_is_active((*it)->email() == active_user_id_);
- }
- }
}
void FakeUserManager::SaveUserDisplayName(
« no previous file with comments | « chrome/browser/chromeos/login/session/user_session_manager.cc ('k') | chrome/browser/chromeos/preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698