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

Unified Diff: net/url_request/protocol_intercept_job_factory.cc

Issue 12217095: Remove unused pieces of URLRequestJobFactory API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/protocol_intercept_job_factory.cc
diff --git a/net/url_request/protocol_intercept_job_factory.cc b/net/url_request/protocol_intercept_job_factory.cc
index 1a1a95ff9867ac4e777fbf84adef82d6b7389441..d35259bf30c62a36ccf160b5d171170563a4d122 100644
--- a/net/url_request/protocol_intercept_job_factory.cc
+++ b/net/url_request/protocol_intercept_job_factory.cc
@@ -22,20 +22,6 @@ ProtocolInterceptJobFactory::ProtocolInterceptJobFactory(
ProtocolInterceptJobFactory::~ProtocolInterceptJobFactory() {}
-bool ProtocolInterceptJobFactory::SetProtocolHandler(
- const std::string& scheme, ProtocolHandler* protocol_handler) {
- return job_factory_->SetProtocolHandler(scheme, protocol_handler);
-}
-
-void ProtocolInterceptJobFactory::AddInterceptor(Interceptor* interceptor) {
- return job_factory_->AddInterceptor(interceptor);
-}
-
-URLRequestJob* ProtocolInterceptJobFactory::MaybeCreateJobWithInterceptor(
- URLRequest* request, NetworkDelegate* network_delegate) const {
- return job_factory_->MaybeCreateJobWithInterceptor(request, network_delegate);
-}
-
URLRequestJob* ProtocolInterceptJobFactory::MaybeCreateJobWithProtocolHandler(
const std::string& scheme,
URLRequest* request,
@@ -49,19 +35,6 @@ URLRequestJob* ProtocolInterceptJobFactory::MaybeCreateJobWithProtocolHandler(
scheme, request, network_delegate);
}
-URLRequestJob* ProtocolInterceptJobFactory::MaybeInterceptRedirect(
- const GURL& location,
- URLRequest* request,
- NetworkDelegate* network_delegate) const {
- return job_factory_->MaybeInterceptRedirect(
- location, request, network_delegate);
-}
-
-URLRequestJob* ProtocolInterceptJobFactory::MaybeInterceptResponse(
- URLRequest* request, NetworkDelegate* network_delegate) const {
- return job_factory_->MaybeInterceptResponse(request, network_delegate);
-}
-
bool ProtocolInterceptJobFactory::IsHandledProtocol(
const std::string& scheme) const {
return job_factory_->IsHandledProtocol(scheme);

Powered by Google App Engine
This is Rietveld 408576698