Index: net/url_request/url_request_job_factory.cc |
=================================================================== |
--- net/url_request/url_request_job_factory.cc (revision 86802) |
+++ net/url_request/url_request_job_factory.cc (working copy) |
@@ -76,39 +76,6 @@ |
return it->second->MaybeCreateJob(request); |
} |
-URLRequestJob* URLRequestJobFactory::MaybeInterceptRedirect( |
- const GURL& location, |
- URLRequest* request) const { |
- DCHECK(CalledOnValidThread()); |
- URLRequestJob* job = NULL; |
- |
- if (!(request->load_flags() & LOAD_DISABLE_INTERCEPT)) { |
- InterceptorList::const_iterator i; |
- for (i = interceptors_.begin(); i != interceptors_.end(); ++i) { |
- job = (*i)->MaybeInterceptRedirect(location, request); |
- if (job) |
- return job; |
- } |
- } |
- return NULL; |
-} |
- |
-URLRequestJob* URLRequestJobFactory::MaybeInterceptResponse( |
- URLRequest* request) const { |
- DCHECK(CalledOnValidThread()); |
- URLRequestJob* job = NULL; |
- |
- if (!(request->load_flags() & LOAD_DISABLE_INTERCEPT)) { |
- InterceptorList::const_iterator i; |
- for (i = interceptors_.begin(); i != interceptors_.end(); ++i) { |
- job = (*i)->MaybeInterceptResponse(request); |
- if (job) |
- return job; |
- } |
- } |
- return NULL; |
-} |
- |
bool URLRequestJobFactory::IsHandledProtocol(const std::string& scheme) const { |
DCHECK(CalledOnValidThread()); |
InterceptorList::const_iterator i; |