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

Unified Diff: chrome/browser/chromeos/chrome_browser_main_chromeos.cc

Issue 23967015: Use multi-profile mount point by default after browser crash and in Guest session. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ProfileManagerTest,InputMethodPersistenceTest Created 7 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698