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

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

Issue 12217095: Remove unused pieces of URLRequestJobFactory API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing include 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: 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 5d8ad6ae2da2b3c3a12fb45c80aa3fddcdb9cb67..6aa46f2ae04805755645236da8038c02019983d2 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
@@ -174,22 +174,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(
@@ -205,21 +189,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));

Powered by Google App Engine
This is Rietveld 408576698