diff options
Diffstat (limited to 'chrome/browser/chrome_content_browser_client.cc')
| -rw-r--r-- | chrome/browser/chrome_content_browser_client.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc index b7ee7ab..7ae157c 100644 --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc @@ -1513,6 +1513,14 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( arraysize(kIpcFuzzerSwitches)); #endif +#if defined(OS_CHROMEOS) + // On Chrome OS need to pass primary user homedir (in multi-profiles session). + base::FilePath homedir; + PathService::Get(base::DIR_HOME, &homedir); + command_line->AppendSwitchASCII(chromeos::switches::kHomedir, + homedir.value().c_str()); +#endif + if (process_type == switches::kRendererProcess) { #if defined(OS_CHROMEOS) const std::string& login_profile = |
