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

Unified Diff: chrome/browser/notifications/message_center_settings_controller_unittest.cc

Issue 1412813003: 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: Fix Win GN build. Created 5 years, 1 month 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
« no previous file with comments | « chrome/browser/net/nss_context_chromeos_browsertest.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/message_center_settings_controller_unittest.cc
diff --git a/chrome/browser/notifications/message_center_settings_controller_unittest.cc b/chrome/browser/notifications/message_center_settings_controller_unittest.cc
index 2a671d5a4f80bd86bad59fbb9bbaaa618e5a714f..cb5dc5357006adf90fe15ee595004c53ca46a4ee 100644
--- a/chrome/browser/notifications/message_center_settings_controller_unittest.cc
+++ b/chrome/browser/notifications/message_center_settings_controller_unittest.cc
@@ -90,13 +90,13 @@ class MessageCenterSettingsControllerChromeOSTest
TestingProfile* profile =
MessageCenterSettingsControllerBaseTest::CreateProfile(name);
- GetFakeUserManager()->AddUser(name);
- GetFakeUserManager()->LoginUser(name);
+ GetFakeUserManager()->AddUser(AccountId::FromUserEmail(name));
+ GetFakeUserManager()->LoginUser(AccountId::FromUserEmail(name));
return profile;
}
void SwitchActiveUser(const std::string& name) {
- GetFakeUserManager()->SwitchActiveUser(name);
+ GetFakeUserManager()->SwitchActiveUser(AccountId::FromUserEmail(name));
controller()->ActiveUserChanged(GetFakeUserManager()->GetActiveUser());
}
« no previous file with comments | « chrome/browser/net/nss_context_chromeos_browsertest.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698