Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1064)

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry.cc

Issue 2783343002: Remove URLRequestJobFactory::IsHandledURL. (Closed)
Patch Set: More fixes..... Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b84273cf93a937e09252c6006c1d8e26c0486f94..99f69bc9f0b41558c184ec224a039756bea3149e 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
@@ -216,14 +216,6 @@ bool ProtocolHandlerRegistry::JobInterceptorFactory::IsHandledProtocol(
job_factory_->IsHandledProtocol(scheme);
}
-bool ProtocolHandlerRegistry::JobInterceptorFactory::IsHandledURL(
- const GURL& url) const {
- DCHECK_CURRENTLY_ON(BrowserThread::IO);
- return (url.is_valid() &&
- io_thread_delegate_->IsHandledProtocol(url.scheme())) ||
- job_factory_->IsHandledURL(url);
-}
-
bool ProtocolHandlerRegistry::JobInterceptorFactory::IsSafeRedirectTarget(
const GURL& location) const {
DCHECK_CURRENTLY_ON(BrowserThread::IO);

Powered by Google App Engine
This is Rietveld 408576698