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

Unified Diff: android_webview/browser/net/aw_url_request_context_getter.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: android_webview/browser/net/aw_url_request_context_getter.cc
===================================================================
--- android_webview/browser/net/aw_url_request_context_getter.cc (revision 184663)
+++ android_webview/browser/net/aw_url_request_context_getter.cc (working copy)
@@ -124,9 +124,6 @@
job_factory_.Pass(),
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>(
new AwRequestInterceptor())));
- job_factory_.reset(new net::ProtocolInterceptJobFactory(
- job_factory_.Pass(),
- developer_protocol_handler_.Pass()));
url_request_context_->set_job_factory(job_factory_.get());
}
return url_request_context_.get();
@@ -143,14 +140,11 @@
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) {
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();
}
« no previous file with comments | « android_webview/browser/net/aw_url_request_context_getter.h ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698