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

Side by Side Diff: ios/chrome/browser/ios_chrome_io_thread.mm

Issue 2041863002: Remove HttpServerProperies::GetWeakPtr(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ios/chrome/browser/ios_chrome_io_thread.h" 5 #include "ios/chrome/browser/ios_chrome_io_thread.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 543
544 context->set_cookie_store(globals->system_cookie_store.get()); 544 context->set_cookie_store(globals->system_cookie_store.get());
545 context->set_channel_id_service(globals->system_channel_id_service.get()); 545 context->set_channel_id_service(globals->system_channel_id_service.get());
546 context->set_network_delegate(globals->system_network_delegate.get()); 546 context->set_network_delegate(globals->system_network_delegate.get());
547 context->set_http_user_agent_settings( 547 context->set_http_user_agent_settings(
548 globals->http_user_agent_settings.get()); 548 globals->http_user_agent_settings.get());
549 context->set_network_quality_estimator( 549 context->set_network_quality_estimator(
550 globals->network_quality_estimator.get()); 550 globals->network_quality_estimator.get());
551 context->set_backoff_manager(globals->url_request_backoff_manager.get()); 551 context->set_backoff_manager(globals->url_request_backoff_manager.get());
552 552
553 context->set_http_server_properties( 553 context->set_http_server_properties(globals->http_server_properties.get());
554 globals->http_server_properties->GetWeakPtr());
555 554
556 net::HttpNetworkSession::Params system_params(params); 555 net::HttpNetworkSession::Params system_params(params);
557 net::URLRequestContextBuilder::SetHttpNetworkSessionComponents( 556 net::URLRequestContextBuilder::SetHttpNetworkSessionComponents(
558 context, &system_params); 557 context, &system_params);
559 558
560 globals->system_http_network_session.reset( 559 globals->system_http_network_session.reset(
561 new net::HttpNetworkSession(system_params)); 560 new net::HttpNetworkSession(system_params));
562 globals->system_http_transaction_factory.reset( 561 globals->system_http_transaction_factory.reset(
563 new net::HttpNetworkLayer(globals->system_http_network_session.get())); 562 new net::HttpNetworkLayer(globals->system_http_network_session.get()));
564 context->set_http_transaction_factory( 563 context->set_http_transaction_factory(
565 globals->system_http_transaction_factory.get()); 564 globals->system_http_transaction_factory.get());
566 565
567 return context; 566 return context;
568 } 567 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc ('k') | ios/crnet/crnet_environment.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698