summaryrefslogtreecommitdiffstats
path: root/chrome/browser/shell_integration.cc
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-05 00:21:16 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-05 00:21:16 +0000
commit974899a3559bd4c1a3b5d00a0f709c28cb03da65 (patch)
treedf3ce267814645cff4bb4d2763e7fc8c1797e85c /chrome/browser/shell_integration.cc
parent0ebb5701c641d30980d82bf638b19ff1b9b5f61a (diff)
downloadchromium_src-974899a3559bd4c1a3b5d00a0f709c28cb03da65.zip
chromium_src-974899a3559bd4c1a3b5d00a0f709c28cb03da65.tar.gz
chromium_src-974899a3559bd4c1a3b5d00a0f709c28cb03da65.tar.bz2
Temporary code to upgrade Chrome open command for existing users.
From 'chrome %1' to 'chrome -- %1'. For more information see r4016 and crbug.com/3808 Review URL: http://codereview.chromium.org/8988 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4713 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/shell_integration.cc')
-rw-r--r--chrome/browser/shell_integration.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/shell_integration.cc b/chrome/browser/shell_integration.cc
index 0812ce1..a1afecc 100644
--- a/chrome/browser/shell_integration.cc
+++ b/chrome/browser/shell_integration.cc
@@ -55,7 +55,7 @@ bool VerifyApplicationKey() {
std::wstring app_path;
if (!PathService::Get(base::FILE_EXE, &app_path))
return false;
- app_path.append(L" \"%1\"");
+ app_path.append(L" -- \"%1\"");
return key.WriteValue(NULL, app_path.c_str());
}