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

Unified Diff: chrome/browser/net/chrome_url_request_context.cc

Issue 12386009: Remove the chrome:// protocol interceptor since it's not used anymore now that the chrome job facto… (Closed) Base URL: svn://chrome-svn/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: chrome/browser/net/chrome_url_request_context.cc
===================================================================
--- chrome/browser/net/chrome_url_request_context.cc (revision 184663)
+++ chrome/browser/net/chrome_url_request_context.cc (working copy)
@@ -47,15 +47,12 @@
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
file_system_protocol_handler,
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
- developer_protocol_handler,
- scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_protocol_handler,
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_devtools_protocol_handler)
: profile_io_data_(profile_io_data),
blob_protocol_handler_(blob_protocol_handler.Pass()),
file_system_protocol_handler_(file_system_protocol_handler.Pass()),
- developer_protocol_handler_(developer_protocol_handler.Pass()),
chrome_protocol_handler_(chrome_protocol_handler.Pass()),
chrome_devtools_protocol_handler_(
chrome_devtools_protocol_handler.Pass()) {}
@@ -63,7 +60,6 @@
virtual ChromeURLRequestContext* Create() OVERRIDE {
profile_io_data_->Init(blob_protocol_handler_.Pass(),
file_system_protocol_handler_.Pass(),
- developer_protocol_handler_.Pass(),
chrome_protocol_handler_.Pass(),
chrome_devtools_protocol_handler_.Pass());
return profile_io_data_->GetMainRequestContext();
@@ -75,8 +71,6 @@
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
file_system_protocol_handler_;
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
- developer_protocol_handler_;
- scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_protocol_handler_;
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_devtools_protocol_handler_;
@@ -110,8 +104,6 @@
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
file_system_protocol_handler,
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
- developer_protocol_handler,
- scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_protocol_handler,
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_devtools_protocol_handler)
@@ -121,7 +113,6 @@
protocol_handler_interceptor_(protocol_handler_interceptor.Pass()),
blob_protocol_handler_(blob_protocol_handler.Pass()),
file_system_protocol_handler_(file_system_protocol_handler.Pass()),
- developer_protocol_handler_(developer_protocol_handler.Pass()),
chrome_protocol_handler_(chrome_protocol_handler.Pass()),
chrome_devtools_protocol_handler_(
chrome_devtools_protocol_handler.Pass()) {}
@@ -136,7 +127,6 @@
main_request_context_getter_->GetIOContext(), partition_descriptor_,
protocol_handler_interceptor_.Pass(), blob_protocol_handler_.Pass(),
file_system_protocol_handler_.Pass(),
- developer_protocol_handler_.Pass(),
chrome_protocol_handler_.Pass(),
chrome_devtools_protocol_handler_.Pass());
}
@@ -153,8 +143,6 @@
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
file_system_protocol_handler_;
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
- developer_protocol_handler_;
- scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_protocol_handler_;
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_devtools_protocol_handler_;
@@ -249,8 +237,6 @@
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
file_system_protocol_handler,
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
- developer_protocol_handler,
- scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_protocol_handler,
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_devtools_protocol_handler) {
@@ -259,7 +245,6 @@
new FactoryForMain(profile_io_data,
blob_protocol_handler.Pass(),
file_system_protocol_handler.Pass(),
- developer_protocol_handler.Pass(),
chrome_protocol_handler.Pass(),
chrome_devtools_protocol_handler.Pass()));
}
@@ -295,8 +280,6 @@
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
file_system_protocol_handler,
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
- developer_protocol_handler,
- scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_protocol_handler,
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_devtools_protocol_handler) {
@@ -307,7 +290,7 @@
new FactoryForIsolatedApp(profile_io_data, partition_descriptor,
main_context, protocol_handler_interceptor.Pass(),
blob_protocol_handler.Pass(), file_system_protocol_handler.Pass(),
- developer_protocol_handler.Pass(), chrome_protocol_handler.Pass(),
+ chrome_protocol_handler.Pass(),
chrome_devtools_protocol_handler.Pass()));
}
@@ -334,8 +317,6 @@
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
file_system_protocol_handler,
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
- developer_protocol_handler,
- scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_protocol_handler,
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_devtools_protocol_handler) {
@@ -344,7 +325,6 @@
new FactoryForMain(profile_io_data,
blob_protocol_handler.Pass(),
file_system_protocol_handler.Pass(),
- developer_protocol_handler.Pass(),
chrome_protocol_handler.Pass(),
chrome_devtools_protocol_handler.Pass()));
}
@@ -371,8 +351,6 @@
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
file_system_protocol_handler,
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
- developer_protocol_handler,
- scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_protocol_handler,
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_devtools_protocol_handler) {
@@ -383,7 +361,7 @@
new FactoryForIsolatedApp(profile_io_data, partition_descriptor,
main_context, protocol_handler_interceptor.Pass(),
blob_protocol_handler.Pass(), file_system_protocol_handler.Pass(),
- developer_protocol_handler.Pass(), chrome_protocol_handler.Pass(),
+ chrome_protocol_handler.Pass(),
chrome_devtools_protocol_handler.Pass()));
}
« no previous file with comments | « chrome/browser/net/chrome_url_request_context.h ('k') | chrome/browser/profiles/off_the_record_profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698