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

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

Issue 9476035: Make CertVerifier a pure virtual interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win shared fix Created 8 years, 9 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
« no previous file with comments | « chrome/browser/chromeos/web_socket_proxy.cc ('k') | chrome/browser/net/connection_tester.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 extension_event_router_forwarder_; 386 extension_event_router_forwarder_;
387 globals_->system_network_delegate.reset(new ChromeNetworkDelegate( 387 globals_->system_network_delegate.reset(new ChromeNetworkDelegate(
388 extension_event_router_forwarder_, 388 extension_event_router_forwarder_,
389 NULL, 389 NULL,
390 NULL, 390 NULL,
391 NULL, 391 NULL,
392 NULL, 392 NULL,
393 &system_enable_referrers_)); 393 &system_enable_referrers_));
394 globals_->host_resolver.reset( 394 globals_->host_resolver.reset(
395 CreateGlobalHostResolver(net_log_)); 395 CreateGlobalHostResolver(net_log_));
396 globals_->cert_verifier.reset(new net::CertVerifier); 396 globals_->cert_verifier.reset(net::CertVerifier::CreateDefault());
397 globals_->transport_security_state.reset(new net::TransportSecurityState("")); 397 globals_->transport_security_state.reset(new net::TransportSecurityState(""));
398 globals_->ssl_config_service = GetSSLConfigService(); 398 globals_->ssl_config_service = GetSSLConfigService();
399 globals_->http_auth_handler_factory.reset(CreateDefaultAuthHandlerFactory( 399 globals_->http_auth_handler_factory.reset(CreateDefaultAuthHandlerFactory(
400 globals_->host_resolver.get())); 400 globals_->host_resolver.get()));
401 globals_->http_server_properties.reset(new net::HttpServerPropertiesImpl); 401 globals_->http_server_properties.reset(new net::HttpServerPropertiesImpl);
402 // For the ProxyScriptFetcher, we use a direct ProxyService. 402 // For the ProxyScriptFetcher, we use a direct ProxyService.
403 globals_->proxy_script_fetcher_proxy_service.reset( 403 globals_->proxy_script_fetcher_proxy_service.reset(
404 net::ProxyService::CreateDirectWithNetLog(net_log_)); 404 net::ProxyService::CreateDirectWithNetLog(net_log_));
405 // In-memory cookie store. 405 // In-memory cookie store.
406 globals_->system_cookie_store = new net::CookieMonster(NULL, NULL); 406 globals_->system_cookie_store = new net::CookieMonster(NULL, NULL);
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 new net::HttpNetworkLayer( 602 new net::HttpNetworkLayer(
603 new net::HttpNetworkSession(system_params))); 603 new net::HttpNetworkSession(system_params)));
604 globals_->system_ftp_transaction_factory.reset( 604 globals_->system_ftp_transaction_factory.reset(
605 new net::FtpNetworkLayer(globals_->host_resolver.get())); 605 new net::FtpNetworkLayer(globals_->host_resolver.get()));
606 globals_->system_request_context = 606 globals_->system_request_context =
607 ConstructSystemRequestContext(globals_, net_log_); 607 ConstructSystemRequestContext(globals_, net_log_);
608 608
609 sdch_manager_->set_sdch_fetcher( 609 sdch_manager_->set_sdch_fetcher(
610 new SdchDictionaryFetcher(system_url_request_context_getter_.get())); 610 new SdchDictionaryFetcher(system_url_request_context_getter_.get()));
611 } 611 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/web_socket_proxy.cc ('k') | chrome/browser/net/connection_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698