From 80f8dafc252632661d8c26835f0d92b387390532 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Tue, 31 Mar 2009 03:40:07 +0000 Subject: 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 --- chrome/common/chrome_plugin_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"\" "; } } -- cgit v1.1