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

Unified Diff: chrome/browser/chromeos/preferences_unittest.cc

Issue 1425093004: Revert of This CL replaces user_manager::UserID with AccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@468875--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Create-AccountID-structure-part2--user_names
Patch Set: Created 5 years, 2 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/chromeos/preferences_unittest.cc
diff --git a/chrome/browser/chromeos/preferences_unittest.cc b/chrome/browser/chromeos/preferences_unittest.cc
index 88936630177134cff646eb45b6a32a26d741a3e9..3875cb37a1646518d777ff67bf50c34483576f6d 100644
--- a/chrome/browser/chromeos/preferences_unittest.cc
+++ b/chrome/browser/chromeos/preferences_unittest.cc
@@ -155,10 +155,9 @@
new chromeos::ScopedUserManagerEnabler(user_manager));
const char test_user_email[] = "test_user@example.com";
- const AccountId test_account_id(AccountId::FromUserEmail(test_user_email));
- test_user_ = user_manager->AddUser(test_account_id);
- user_manager->LoginUser(test_account_id);
- user_manager->SwitchActiveUser(test_account_id);
+ test_user_ = user_manager->AddUser(test_user_email);
+ user_manager->LoginUser(test_user_email);
+ user_manager->SwitchActiveUser(test_user_email);
test_profile_ = profile_manager_->CreateTestingProfile(
chrome::kInitialProfile);

Powered by Google App Engine
This is Rietveld 408576698