| Index: chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| index 1bce59dda7c2c5e8df28385a0fefaae1238cf010..81acce1ac9708334059eb28fbb495cfd09331c9f 100644
|
| --- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| +++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| @@ -261,20 +261,11 @@ void ProtocolHandlerRegistry::DefaultClientObserver::SetDefaultWebClientUIState(
|
| }
|
| }
|
|
|
| -bool ProtocolHandlerRegistry::DefaultClientObserver::
|
| - IsInteractiveSetDefaultPermitted() {
|
| - return true;
|
| -}
|
| -
|
| void ProtocolHandlerRegistry::DefaultClientObserver::SetWorker(
|
| ShellIntegration::DefaultProtocolClientWorker* worker) {
|
| worker_ = worker;
|
| }
|
|
|
| -bool ProtocolHandlerRegistry::DefaultClientObserver::IsOwnedByWorker() {
|
| - return true;
|
| -}
|
| -
|
| // Delegate --------------------------------------------------------------------
|
|
|
| ProtocolHandlerRegistry::Delegate::~Delegate() {}
|
| @@ -303,7 +294,8 @@ ShellIntegration::DefaultProtocolClientWorker*
|
| ProtocolHandlerRegistry::Delegate::CreateShellWorker(
|
| ShellIntegration::DefaultWebClientObserver* observer,
|
| const std::string& protocol) {
|
| - return new ShellIntegration::DefaultProtocolClientWorker(observer, protocol);
|
| + return new ShellIntegration::DefaultProtocolClientWorker(observer, protocol,
|
| + true, true);
|
| }
|
|
|
| ProtocolHandlerRegistry::DefaultClientObserver*
|
|
|