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 83f650934f9958d1d4476930210a4f610617de1a..c303a38c7e10f9c57883cf338e76f14b44d98afa 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( |