diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 01:23:00 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 01:23:00 +0000 |
commit | 660e428f4baafdd433f978f7e4074677611f0de9 (patch) | |
tree | 6c73e5446b8b9699b3fa69fd44bf75f098b6f8f5 /chrome/browser/shell_integration.cc | |
parent | f13997f0122a7584f3205a8c5a117007f557e951 (diff) | |
download | chromium_src-660e428f4baafdd433f978f7e4074677611f0de9.zip chromium_src-660e428f4baafdd433f978f7e4074677611f0de9.tar.gz chromium_src-660e428f4baafdd433f978f7e4074677611f0de9.tar.bz2 |
Remove usage of GetSwitchValue for most of chrome/browser/.
Review URL: http://codereview.chromium.org/3005053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54856 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/shell_integration.cc')
-rw-r--r-- | chrome/browser/shell_integration.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/shell_integration.cc b/chrome/browser/shell_integration.cc index 1c54eca..3ed45ae7 100644 --- a/chrome/browser/shell_integration.cc +++ b/chrome/browser/shell_integration.cc @@ -31,11 +31,11 @@ std::string ShellIntegration::GetCommandLineArgumentsCommon(const GURL& url, } } -#if defined (OS_CHROMEOS) - std::wstring profile = cmd.GetSwitchValue(switches::kLoginProfile); +#if defined(OS_CHROMEOS) + FilePath profile = cmd.GetSwitchValuePath(switches::kLoginProfile); if (!profile.empty()) { arguments_w += std::wstring(L"--") + ASCIIToWide(switches::kLoginProfile) + - L"=\"" + profile + L"\" "; + L"=\"" + profile.ToWStringHack() + L"\" "; } #endif |