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

Unified Diff: net/url_request/url_request_job_factory_impl.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: net/url_request/url_request_job_factory_impl.cc
diff --git a/net/url_request/url_request_job_factory_impl.cc b/net/url_request/url_request_job_factory_impl.cc
index 8fe47034255b808cbb0772cc02adbd7b7771213d..367d885cf31812de038010eec3cb42ff51a45fd2 100644
--- a/net/url_request/url_request_job_factory_impl.cc
+++ b/net/url_request/url_request_job_factory_impl.cc
@@ -80,14 +80,6 @@ bool URLRequestJobFactoryImpl::IsHandledProtocol(
URLRequestJobManager::GetInstance()->SupportsScheme(scheme);
}
-bool URLRequestJobFactoryImpl::IsHandledURL(const GURL& url) const {
- if (!url.is_valid()) {
- // We handle error cases.
- return true;
- }
- return IsHandledProtocol(url.scheme());
-}
-
bool URLRequestJobFactoryImpl::IsSafeRedirectTarget(
const GURL& location) const {
DCHECK(CalledOnValidThread());

Powered by Google App Engine
This is Rietveld 408576698