| Index: chrome/installer/util/scoped_user_protocol_entry.cc
|
| diff --git a/chrome/installer/util/scoped_user_protocol_entry.cc b/chrome/installer/util/scoped_user_protocol_entry.cc
|
| index 8dc51e40ab3a09ddf38644b1b6659afaaafad775..3aa7f0211d40b6d3139a971e1a8f6500694f7ff5 100644
|
| --- a/chrome/installer/util/scoped_user_protocol_entry.cc
|
| +++ b/chrome/installer/util/scoped_user_protocol_entry.cc
|
| @@ -10,9 +10,9 @@
|
| #include "chrome/installer/util/registry_entry.h"
|
| #include "chrome/installer/util/shell_util.h"
|
|
|
| -ScopedUserProtocolEntry::ScopedUserProtocolEntry() {
|
| +ScopedUserProtocolEntry::ScopedUserProtocolEntry(const wchar_t* protocol) {
|
| entries_.push_back(new RegistryEntry(
|
| - base::FilePath(ShellUtil::kRegClasses).Append(L"http").value(),
|
| + base::FilePath(ShellUtil::kRegClasses).Append(protocol).value(),
|
| ShellUtil::kRegUrlProtocol, base::string16()));
|
| if (!entries_.back()->KeyExistsInRegistry(RegistryEntry::LOOK_IN_HKCU) &&
|
| ShellUtil::AddRegistryEntries(HKEY_CURRENT_USER, entries_)) {
|
|
|