diff options
Diffstat (limited to 'chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc')
-rw-r--r-- | chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc index ab54350..7a1f09e 100644 --- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc +++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc @@ -69,6 +69,20 @@ class FakeURLRequestJobFactory : public net::URLRequestJobFactory { net::NetworkDelegate* network_delegate) const override { return NULL; } + + net::URLRequestJob* MaybeInterceptRedirect( + net::URLRequest* request, + net::NetworkDelegate* network_delegate, + const GURL& location) const override { + return nullptr; + } + + net::URLRequestJob* MaybeInterceptResponse( + net::URLRequest* request, + net::NetworkDelegate* network_delegate) const override { + return nullptr; + } + bool IsHandledProtocol(const std::string& scheme) const override { return false; } |