summaryrefslogtreecommitdiffstats
path: root/chrome/browser/user_data_manager.cc
diff options
context:
space:
mode:
authormunjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 01:33:18 +0000
committermunjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 01:33:18 +0000
commitac9263642922463a82cb02f1ecd06c9536cc83e7 (patch)
tree8cf8349ee13e5f15f2c50d4437d8d7ecdb9a6752 /chrome/browser/user_data_manager.cc
parent0191afb579f359623cf31a956ec8d602057ffdcb (diff)
downloadchromium_src-ac9263642922463a82cb02f1ecd06c9536cc83e7.zip
chromium_src-ac9263642922463a82cb02f1ecd06c9536cc83e7.tar.gz
chromium_src-ac9263642922463a82cb02f1ecd06c9536cc83e7.tar.bz2
Hide profiles behind a command-line switch since the user-data-dir stuff
wouldn't work on Mac. See bug http://code.google.com/p/chromium/issues/detail?id=7987 Review URL: http://codereview.chromium.org/28093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10432 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/user_data_manager.cc')
-rw-r--r--chrome/browser/user_data_manager.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/user_data_manager.cc b/chrome/browser/user_data_manager.cc
index 2aa4d78..e066cf1 100644
--- a/chrome/browser/user_data_manager.cc
+++ b/chrome/browser/user_data_manager.cc
@@ -182,6 +182,7 @@ void UserDataManager::LaunchChromeForProfile(
std::wstring command;
PathService::Get(base::FILE_EXE, &command);
CommandLine command_line(command);
+ command_line.AppendSwitch(switches::kEnableUserDataDirProfiles);
command_line.AppendSwitchWithValue(switches::kUserDataDir,
user_data_dir);
std::wstring local_state_path;