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

Unified Diff: chrome/browser/chromeos/power/extension_event_observer_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/power/extension_event_observer_unittest.cc
diff --git a/chrome/browser/chromeos/power/extension_event_observer_unittest.cc b/chrome/browser/chromeos/power/extension_event_observer_unittest.cc
index 06fff499438e47d3bf960b8f96c086bc061c858b..455fb6a3624e27ec358b42b9347147ac0fd8149e 100644
--- a/chrome/browser/chromeos/power/extension_event_observer_unittest.cc
+++ b/chrome/browser/chromeos/power/extension_event_observer_unittest.cc
@@ -68,11 +68,9 @@
ASSERT_TRUE(profile_manager_->SetUp());
const char kUserProfile[] = "profile1@example.com";
- const AccountId account_id(AccountId::FromUserEmail(kUserProfile));
- fake_user_manager_->AddUser(account_id);
- fake_user_manager_->LoginUser(account_id);
- profile_ =
- profile_manager_->CreateTestingProfile(account_id.GetUserEmail());
+ fake_user_manager_->AddUser(kUserProfile);
+ fake_user_manager_->LoginUser(kUserProfile);
+ profile_ = profile_manager_->CreateTestingProfile(kUserProfile);
profile_manager_->SetLoggedIn(true);
}

Powered by Google App Engine
This is Rietveld 408576698