| 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 72f134d64b226ee68dbb230ea0500d693a1e55c4..99bfd7cf21ad588f51eb47b560f3d8130fd36044 100644
|
| --- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| +++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
|
| @@ -190,6 +190,22 @@ MaybeCreateJobWithProtocolHandler(
|
| scheme, request, network_delegate);
|
| }
|
|
|
| +net::URLRequestJob*
|
| +ProtocolHandlerRegistry::JobInterceptorFactory::MaybeInterceptRedirect(
|
| + net::URLRequest* request,
|
| + net::NetworkDelegate* network_delegate,
|
| + const GURL& location) const {
|
| + return job_factory_->MaybeInterceptRedirect(
|
| + request, network_delegate, location);
|
| +}
|
| +
|
| +net::URLRequestJob*
|
| +ProtocolHandlerRegistry::JobInterceptorFactory::MaybeInterceptResponse(
|
| + net::URLRequest* request,
|
| + net::NetworkDelegate* network_delegate) const {
|
| + return job_factory_->MaybeInterceptResponse(request, network_delegate);
|
| +}
|
| +
|
| bool ProtocolHandlerRegistry::JobInterceptorFactory::IsHandledProtocol(
|
| const std::string& scheme) const {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
|
|