summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authormgiuca <mgiuca@chromium.org>2014-09-15 17:31:31 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-16 00:37:50 +0000
commit144067db7db51b080b0ee29ec24bd2572cff6de2 (patch)
treec4778f052c389a40dc9652c7232595f61c4dd4b4 /chrome/installer
parentabee4fef8c6b2078294f65f678d2f41e928ad311 (diff)
downloadchromium_src-144067db7db51b080b0ee29ec24bd2572cff6de2.zip
chromium_src-144067db7db51b080b0ee29ec24bd2572cff6de2.tar.gz
chromium_src-144067db7db51b080b0ee29ec24bd2572cff6de2.tar.bz2
Installer: Do not write "URL Protocol" to the ChromeHTML registry entry.
This means Chrome will no longer register itself as the handler for the bogus "chromehtml" URL protocol. (Regular file associations should not register the class name as a URL protocol.) BUG=413051 Review URL: https://codereview.chromium.org/559253002 Cr-Commit-Position: refs/heads/master@{#294941}
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/shell_util.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
index 8a8c0022..1e67163 100644
--- a/chrome/installer/util/shell_util.cc
+++ b/chrome/installer/util/shell_util.cc
@@ -297,8 +297,6 @@ class RegistryEntry {
entries->push_back(new RegistryEntry(
chrome_html_prog_id, dist->GetBrowserProgIdDesc()));
entries->push_back(new RegistryEntry(
- chrome_html_prog_id, ShellUtil::kRegUrlProtocol, base::string16()));
- entries->push_back(new RegistryEntry(
chrome_html_prog_id + ShellUtil::kRegDefaultIcon, icon_path));
entries->push_back(new RegistryEntry(
chrome_html_prog_id + ShellUtil::kRegShellOpen, open_cmd));