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

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: More tests fixed. 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 9046e5881a3b63588ee43874e7a28a782dcc6116..8e461daa4d7654bd702bdca2aed8183161205a92 100644
--- a/chrome/browser/notifications/message_center_settings_controller_unittest.cc
+++ b/chrome/browser/notifications/message_center_settings_controller_unittest.cc
@@ -59,8 +59,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 {
@@ -85,7 +83,7 @@ class MessageCenterSettingsControllerChromeOSTest
MessageCenterSettingsControllerTest::CreateProfile(name);
GetFakeUserManager()->AddUser(name);
- GetFakeUserManager()->UserLoggedIn(name, name + kUserIdHashSuffix, false);
+ GetFakeUserManager()->LoginUser(name);
}
void SwitchActiveUser(const std::string& name) {

Powered by Google App Engine
This is Rietveld 408576698