summaryrefslogtreecommitdiffstats
path: root/chrome/browser/custom_handlers/protocol_handler_registry.cc
diff options
context:
space:
mode:
authorpauljensen@chromium.org <pauljensen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 21:22:47 +0000
committerpauljensen@chromium.org <pauljensen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 21:22:47 +0000
commitd6545d502892013c1e5723278740f72d2db2f1b2 (patch)
tree623f8de69e70386d07c11c866715413ae676bbcb /chrome/browser/custom_handlers/protocol_handler_registry.cc
parentd9e19bf440d639afd0201e0ac13c4bf1f1626ed5 (diff)
downloadchromium_src-d6545d502892013c1e5723278740f72d2db2f1b2.zip
chromium_src-d6545d502892013c1e5723278740f72d2db2f1b2.tar.gz
chromium_src-d6545d502892013c1e5723278740f72d2db2f1b2.tar.bz2
Remove unused pieces of URLRequestJobFactory API.
This is mostly the Interceptor logic which is now unused. Also switch DebugDevToolsInterceptor (the last remaining Interceptor) to a ProtocolHandler. BUG=146602,161529 Review URL: https://chromiumcodereview.appspot.com/12217095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182016 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/custom_handlers/protocol_handler_registry.cc')
-rw-r--r--chrome/browser/custom_handlers/protocol_handler_registry.cc31
1 files changed, 0 insertions, 31 deletions
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc
index d649875..3be1184 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
@@ -175,22 +175,6 @@ void ProtocolHandlerRegistry::JobInterceptorFactory::Chain(
job_factory_ = job_factory.Pass();
}
-bool ProtocolHandlerRegistry::JobInterceptorFactory::SetProtocolHandler(
- const std::string& scheme, ProtocolHandler* protocol_handler) {
- return job_factory_->SetProtocolHandler(scheme, protocol_handler);
-}
-
-void ProtocolHandlerRegistry::JobInterceptorFactory::AddInterceptor(
- Interceptor* interceptor) {
- return job_factory_->AddInterceptor(interceptor);
-}
-
-net::URLRequestJob*
-ProtocolHandlerRegistry::JobInterceptorFactory::MaybeCreateJobWithInterceptor(
- net::URLRequest* request, net::NetworkDelegate* network_delegate) const {
- return job_factory_->MaybeCreateJobWithInterceptor(request, network_delegate);
-}
-
net::URLRequestJob*
ProtocolHandlerRegistry::JobInterceptorFactory::
MaybeCreateJobWithProtocolHandler(
@@ -206,21 +190,6 @@ MaybeCreateJobWithProtocolHandler(
scheme, request, network_delegate);
}
-net::URLRequestJob*
-ProtocolHandlerRegistry::JobInterceptorFactory::MaybeInterceptRedirect(
- const GURL& location,
- net::URLRequest* request,
- net::NetworkDelegate* network_delegate) const {
- return job_factory_->MaybeInterceptRedirect(
- location, request, network_delegate);
-}
-
-net::URLRequestJob*
-ProtocolHandlerRegistry::JobInterceptorFactory::MaybeInterceptResponse(
- net::URLRequest* request, net::NetworkDelegate* network_delegate) const {
- return job_factory_->MaybeInterceptResponse(request, network_delegate);
-}
-
bool ProtocolHandlerRegistry::JobInterceptorFactory::IsHandledProtocol(
const std::string& scheme) const {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));