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 0a1913dd9b7029110f130ead44bda288b127c34f..675dd6e06fb97dbd0d57399d00a87cfe8e9a6ec5 100644 |
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc |
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc |
@@ -205,6 +205,12 @@ bool ProtocolHandlerRegistry::JobInterceptorFactory::IsHandledURL( |
job_factory_->IsHandledURL(url); |
} |
+bool ProtocolHandlerRegistry::JobInterceptorFactory::IsSafeRedirectTarget( |
+ const GURL& location) const { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ return job_factory_->IsSafeRedirectTarget(location); |
+} |
+ |
// DefaultClientObserver ------------------------------------------------------ |
ProtocolHandlerRegistry::DefaultClientObserver::DefaultClientObserver( |