| 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 f246291f46b1c3ce59aa09842efc656f7e161598..759f226f32da494f3b28dde5a19c145c78476845 100644
|
| --- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| +++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
|
| @@ -234,7 +234,12 @@ class FakeProtocolClientWorker
|
| }
|
| }
|
|
|
| - bool SetAsDefault(bool interactive_permitted) override { return true; }
|
| + void SetAsDefault(bool interactive_permitted) override {
|
| + BrowserThread::PostTask(
|
| + BrowserThread::UI, FROM_HERE,
|
| + base::Bind(&FakeProtocolClientWorker::CompleteSetAsDefault, this,
|
| + true));
|
| + }
|
|
|
| private:
|
| bool force_failure_;
|
|
|