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

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

Issue 442043002: ProfileManager doesn't depend on "--login-profile" switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/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 750f29f47c5fbfcc37485bd2d16b7ceee19a460a..a18177732eb25c9de15fc5200960435216bbf388 100644
--- a/chrome/browser/notifications/message_center_settings_controller_unittest.cc
+++ b/chrome/browser/notifications/message_center_settings_controller_unittest.cc
@@ -60,8 +60,6 @@ class MessageCenterSettingsControllerTest : public testing::Test {
};
#if defined(OS_CHROMEOS)
-// This value should be same as the one in fake_user_manager.cc
-static const char kUserIdHashSuffix[] = "-hash";
class MessageCenterSettingsControllerChromeOSTest
: public MessageCenterSettingsControllerTest {
@@ -86,7 +84,7 @@ class MessageCenterSettingsControllerChromeOSTest
MessageCenterSettingsControllerTest::CreateProfile(name);
GetFakeUserManager()->AddUser(name);
- GetFakeUserManager()->UserLoggedIn(name, name + kUserIdHashSuffix, false);
+ GetFakeUserManager()->LoginUser(name);
}
void SwitchActiveUser(const std::string& name) {
« no previous file with comments | « chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698