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

Unified Diff: ios/web/shell/shell_url_request_context_getter.cc

Issue 1342613002: Revert of Remove reference counting from HttpNetworkSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « ios/crnet/crnet_environment.mm ('k') | jingle/glue/proxy_resolving_client_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/shell/shell_url_request_context_getter.cc
diff --git a/ios/web/shell/shell_url_request_context_getter.cc b/ios/web/shell/shell_url_request_context_getter.cc
index 9cd2d10b7eccaaa691d4c064a8b433cf9e89b4f4..5d8c660357c7d642b569e7dd97d21db546507846 100644
--- a/ios/web/shell/shell_url_request_context_getter.cc
+++ b/ios/web/shell/shell_url_request_context_getter.cc
@@ -135,11 +135,8 @@
net::CACHE_BACKEND_DEFAULT,
cache_path, 0, cache_task_runner_);
- storage_->set_http_network_session(
- make_scoped_ptr(new net::HttpNetworkSession(network_session_params)));
net::HttpCache* main_cache =
- new net::HttpCache(storage_->http_network_session(), main_backend,
- true /* set_up_quic_server_info */);
+ new net::HttpCache(network_session_params, main_backend);
storage_->set_http_transaction_factory(main_cache);
scoped_ptr<net::URLRequestJobFactoryImpl> job_factory(
« no previous file with comments | « ios/crnet/crnet_environment.mm ('k') | jingle/glue/proxy_resolving_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698