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

Side by Side Diff: chrome/browser/io_thread.cc

Issue 9415040: Refactor TransportSecurityState. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/io_thread.h" 5 #include "chrome/browser/io_thread.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 globals_->system_network_delegate.reset(new ChromeNetworkDelegate( 398 globals_->system_network_delegate.reset(new ChromeNetworkDelegate(
399 extension_event_router_forwarder_, 399 extension_event_router_forwarder_,
400 NULL, 400 NULL,
401 NULL, 401 NULL,
402 NULL, 402 NULL,
403 NULL, 403 NULL,
404 &system_enable_referrers_)); 404 &system_enable_referrers_));
405 globals_->host_resolver.reset( 405 globals_->host_resolver.reset(
406 CreateGlobalHostResolver(net_log_)); 406 CreateGlobalHostResolver(net_log_));
407 globals_->cert_verifier.reset(net::CertVerifier::CreateDefault()); 407 globals_->cert_verifier.reset(net::CertVerifier::CreateDefault());
408 globals_->transport_security_state.reset(new net::TransportSecurityState("")); 408 globals_->transport_security_state.reset(new net::TransportSecurityState());
409 globals_->ssl_config_service = GetSSLConfigService(); 409 globals_->ssl_config_service = GetSSLConfigService();
410 globals_->http_auth_handler_factory.reset(CreateDefaultAuthHandlerFactory( 410 globals_->http_auth_handler_factory.reset(CreateDefaultAuthHandlerFactory(
411 globals_->host_resolver.get())); 411 globals_->host_resolver.get()));
412 globals_->http_server_properties.reset(new net::HttpServerPropertiesImpl); 412 globals_->http_server_properties.reset(new net::HttpServerPropertiesImpl);
413 // For the ProxyScriptFetcher, we use a direct ProxyService. 413 // For the ProxyScriptFetcher, we use a direct ProxyService.
414 globals_->proxy_script_fetcher_proxy_service.reset( 414 globals_->proxy_script_fetcher_proxy_service.reset(
415 net::ProxyService::CreateDirectWithNetLog(net_log_)); 415 net::ProxyService::CreateDirectWithNetLog(net_log_));
416 // In-memory cookie store. 416 // In-memory cookie store.
417 globals_->system_cookie_store = new net::CookieMonster(NULL, NULL); 417 globals_->system_cookie_store = new net::CookieMonster(NULL, NULL);
418 // In-memory server bound cert store. 418 // In-memory server bound cert store.
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 new net::HttpNetworkLayer( 613 new net::HttpNetworkLayer(
614 new net::HttpNetworkSession(system_params))); 614 new net::HttpNetworkSession(system_params)));
615 globals_->system_ftp_transaction_factory.reset( 615 globals_->system_ftp_transaction_factory.reset(
616 new net::FtpNetworkLayer(globals_->host_resolver.get())); 616 new net::FtpNetworkLayer(globals_->host_resolver.get()));
617 globals_->system_request_context = 617 globals_->system_request_context =
618 ConstructSystemRequestContext(globals_, net_log_); 618 ConstructSystemRequestContext(globals_, net_log_);
619 619
620 sdch_manager_->set_sdch_fetcher( 620 sdch_manager_->set_sdch_fetcher(
621 new SdchDictionaryFetcher(system_url_request_context_getter_.get())); 621 new SdchDictionaryFetcher(system_url_request_context_getter_.get()));
622 } 622 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_io_data.cc » ('j') | chrome/browser/transport_security_persister.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698