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

Side by Side Diff: chrome/browser/profiles/profile_io_data.cc

Issue 8944001: net: remove DNS certificate checking code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/profiles/profile_io_data.h ('k') | chrome/chrome_browser.gypi » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/profiles/profile_io_data.h" 5 #include "chrome/browser/profiles/profile_io_data.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/stl_util.h" 15 #include "base/stl_util.h"
16 #include "base/string_number_conversions.h" 16 #include "base/string_number_conversions.h"
17 #include "base/task.h" 17 #include "base/task.h"
18 #include "chrome/browser/browser_process.h" 18 #include "chrome/browser/browser_process.h"
19 #include "chrome/browser/content_settings/cookie_settings.h" 19 #include "chrome/browser/content_settings/cookie_settings.h"
20 #include "chrome/browser/content_settings/host_content_settings_map.h" 20 #include "chrome/browser/content_settings/host_content_settings_map.h"
21 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 21 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
22 #include "chrome/browser/download/download_service.h" 22 #include "chrome/browser/download/download_service.h"
23 #include "chrome/browser/download/download_service_factory.h" 23 #include "chrome/browser/download/download_service_factory.h"
24 #include "chrome/browser/extensions/extension_info_map.h" 24 #include "chrome/browser/extensions/extension_info_map.h"
25 #include "chrome/browser/extensions/extension_protocols.h" 25 #include "chrome/browser/extensions/extension_protocols.h"
26 #include "chrome/browser/io_thread.h" 26 #include "chrome/browser/io_thread.h"
27 #include "chrome/browser/media/media_internals.h" 27 #include "chrome/browser/media/media_internals.h"
28 #include "chrome/browser/net/chrome_cookie_notification_details.h" 28 #include "chrome/browser/net/chrome_cookie_notification_details.h"
29 #include "chrome/browser/net/chrome_dns_cert_provenance_checker_factory.h"
30 #include "chrome/browser/net/chrome_fraudulent_certificate_reporter.h" 29 #include "chrome/browser/net/chrome_fraudulent_certificate_reporter.h"
31 #include "chrome/browser/net/chrome_net_log.h" 30 #include "chrome/browser/net/chrome_net_log.h"
32 #include "chrome/browser/net/chrome_network_delegate.h" 31 #include "chrome/browser/net/chrome_network_delegate.h"
33 #include "chrome/browser/net/proxy_service_factory.h" 32 #include "chrome/browser/net/proxy_service_factory.h"
34 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 33 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
35 #include "chrome/browser/policy/url_blacklist_manager.h" 34 #include "chrome/browser/policy/url_blacklist_manager.h"
36 #include "chrome/browser/prefs/pref_service.h" 35 #include "chrome/browser/prefs/pref_service.h"
37 #include "chrome/browser/profiles/profile.h" 36 #include "chrome/browser/profiles/profile.h"
38 #include "chrome/browser/profiles/profile_manager.h" 37 #include "chrome/browser/profiles/profile_manager.h"
39 #include "chrome/browser/transport_security_persister.h" 38 #include "chrome/browser/transport_security_persister.h"
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 425
427 chrome_url_data_manager_backend_.reset(new ChromeURLDataManagerBackend); 426 chrome_url_data_manager_backend_.reset(new ChromeURLDataManagerBackend);
428 427
429 network_delegate_.reset(new ChromeNetworkDelegate( 428 network_delegate_.reset(new ChromeNetworkDelegate(
430 io_thread_globals->extension_event_router_forwarder.get(), 429 io_thread_globals->extension_event_router_forwarder.get(),
431 profile_params_->extension_info_map, 430 profile_params_->extension_info_map,
432 url_blacklist_manager_.get(), 431 url_blacklist_manager_.get(),
433 profile_params_->profile, 432 profile_params_->profile,
434 &enable_referrers_)); 433 &enable_referrers_));
435 434
436 dns_cert_checker_.reset(
437 CreateDnsCertProvenanceChecker(io_thread_globals->dnsrr_resolver.get(),
438 main_request_context_));
439 fraudulent_certificate_reporter_.reset( 435 fraudulent_certificate_reporter_.reset(
440 new chrome_browser_net::ChromeFraudulentCertificateReporter( 436 new chrome_browser_net::ChromeFraudulentCertificateReporter(
441 main_request_context_)); 437 main_request_context_));
442 438
443 proxy_service_.reset( 439 proxy_service_.reset(
444 ProxyServiceFactory::CreateProxyService( 440 ProxyServiceFactory::CreateProxyService(
445 io_thread->net_log(), 441 io_thread->net_log(),
446 io_thread_globals->proxy_script_fetcher_context.get(), 442 io_thread_globals->proxy_script_fetcher_context.get(),
447 profile_params_->proxy_config_service.release(), 443 profile_params_->proxy_config_service.release(),
448 command_line)); 444 command_line));
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 bool posted = BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, 557 bool posted = BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
562 new DeleteTask<ProfileIOData>(this)); 558 new DeleteTask<ProfileIOData>(this));
563 if (!posted) 559 if (!posted)
564 delete this; 560 delete this;
565 } 561 }
566 562
567 void ProfileIOData::set_origin_bound_cert_service( 563 void ProfileIOData::set_origin_bound_cert_service(
568 net::OriginBoundCertService* origin_bound_cert_service) const { 564 net::OriginBoundCertService* origin_bound_cert_service) const {
569 origin_bound_cert_service_.reset(origin_bound_cert_service); 565 origin_bound_cert_service_.reset(origin_bound_cert_service);
570 } 566 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698