| Index: chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| diff --git a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| index 9a9938bfb6865940219564333d39611b1f552159..d1a6d86e1ea262a25cefa0a8f6a7ee571ba0f49a 100644
|
| --- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| +++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| @@ -78,6 +78,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/browser/rlz/rlz.h"
|
| +#include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/chrome_version_info.h"
|
| @@ -375,9 +376,8 @@ void ChromeBrowserMainPartsChromeos::PreEarlyInitialization() {
|
| singleton_command_line->AppendSwitchASCII(
|
| switches::kLoginUser, UserManager::kStubUser);
|
| if (!parsed_command_line().HasSwitch(switches::kLoginProfile)) {
|
| - // This must be kept in sync with TestingProfile::kTestUserProfileDir.
|
| - singleton_command_line->AppendSwitchASCII(
|
| - switches::kLoginProfile, "test-user");
|
| + singleton_command_line->AppendSwitchASCII(switches::kLoginProfile,
|
| + chrome::kTestUserProfileDir);
|
| }
|
| LOG(INFO) << "Running as stub user with profile dir: "
|
| << singleton_command_line->GetSwitchValuePath(
|
|
|