summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_plugin_util.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-31 03:40:07 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-31 03:40:07 +0000
commit80f8dafc252632661d8c26835f0d92b387390532 (patch)
treee658e6004146c417ccb40ce0f29aebf1ccb2e1cd /chrome/common/chrome_plugin_util.cc
parent7239ecf94bc658d2fa4fb70a6453a41261eb384f (diff)
downloadchromium_src-80f8dafc252632661d8c26835f0d92b387390532.zip
chromium_src-80f8dafc252632661d8c26835f0d92b387390532.tar.gz
chromium_src-80f8dafc252632661d8c26835f0d92b387390532.tar.bz2
Make app installation work when --user-data-dir is specified.
BUG=9546 Review URL: http://codereview.chromium.org/58004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12835 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_plugin_util.cc')
-rw-r--r--chrome/common/chrome_plugin_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/chrome_plugin_util.cc b/chrome/common/chrome_plugin_util.cc
index 2d57d90..d96d84e 100644
--- a/chrome/common/chrome_plugin_util.cc
+++ b/chrome/common/chrome_plugin_util.cc
@@ -137,7 +137,7 @@ CPError CPB_GetCommandLineArgumentsCommon(const char* url,
if (file_util::AbsolutePath(&user_data_dir) &&
file_util::PathExists(user_data_dir)) {
arguments_w += std::wstring(L"--") + switches::kUserDataDir +
- L'=' + user_data_dir;
+ L"=\"" + user_data_dir + L"\" ";
}
}