| Index: chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| index 570b21dc9bc60b0b61f5e18dd9e87192d163b8e3..9b2e9264d0586fe59a2a8a2d2f29b6fc1ca0333d 100644
|
| --- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| +++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| @@ -91,9 +91,10 @@ class FakeClientObserver
|
| delegate_(registry_delegate) {}
|
|
|
| virtual void SetDefaultWebClientUIState(
|
| - ShellIntegration::DefaultWebClientUIState state) {
|
| + ShellIntegration::DefaultWebClientUIState state,
|
| + ShellIntegration::SetDefaultWebClientResult call_result) {
|
| ProtocolHandlerRegistry::DefaultClientObserver::SetDefaultWebClientUIState(
|
| - state);
|
| + state, call_result);
|
| if (state == ShellIntegration::STATE_IS_DEFAULT) {
|
| delegate_->FakeRegisterWithOS(worker_->protocol());
|
| }
|
| @@ -126,7 +127,10 @@ class FakeProtocolClientWorker
|
| }
|
| }
|
|
|
| - virtual void SetAsDefault(bool interactive_permitted) {}
|
| + virtual ShellIntegration::SetDefaultWebClientResult
|
| + SetAsDefault(bool interactive_permitted) {
|
| + return ShellIntegration::RESULT_SET_DEFAULT_OK;
|
| + }
|
|
|
| private:
|
| bool force_failure_;
|
|
|