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

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

Issue 1100003006: Certificate Transparency: Fetching of Signed Tree Heads (DRAFT) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revised design, addressed some comments Created 5 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 (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 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "base/prefs/pref_member.h" 18 #include "base/prefs/pref_member.h"
19 #include "base/synchronization/lock.h" 19 #include "base/synchronization/lock.h"
20 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 20 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
21 #include "chrome/browser/io_thread.h" 21 #include "chrome/browser/io_thread.h"
22 #include "chrome/browser/profiles/profile.h" 22 #include "chrome/browser/profiles/profile.h"
23 #include "chrome/browser/profiles/storage_partition_descriptor.h" 23 #include "chrome/browser/profiles/storage_partition_descriptor.h"
24 #include "components/content_settings/core/common/content_settings_types.h" 24 #include "components/content_settings/core/common/content_settings_types.h"
25 #include "content/public/browser/content_browser_client.h" 25 #include "content/public/browser/content_browser_client.h"
26 #include "content/public/browser/resource_context.h" 26 #include "content/public/browser/resource_context.h"
27 #include "net/cert/ct_verifier.h"
27 #include "net/cookies/cookie_monster.h" 28 #include "net/cookies/cookie_monster.h"
28 #include "net/http/http_cache.h" 29 #include "net/http/http_cache.h"
29 #include "net/http/http_network_session.h" 30 #include "net/http/http_network_session.h"
30 #include "net/url_request/url_request_context.h" 31 #include "net/url_request/url_request_context.h"
31 #include "net/url_request/url_request_interceptor.h" 32 #include "net/url_request/url_request_interceptor.h"
32 #include "net/url_request/url_request_job_factory.h" 33 #include "net/url_request/url_request_job_factory.h"
33 34
34 class ChromeHttpUserAgentSettings; 35 class ChromeHttpUserAgentSettings;
35 class ChromeNetworkDelegate; 36 class ChromeNetworkDelegate;
36 class ChromeURLRequestContextGetter; 37 class ChromeURLRequestContextGetter;
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 #endif 534 #endif
534 mutable scoped_ptr<net::ChannelIDService> channel_id_service_; 535 mutable scoped_ptr<net::ChannelIDService> channel_id_service_;
535 536
536 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> 537 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyIOData>
537 data_reduction_proxy_io_data_; 538 data_reduction_proxy_io_data_;
538 539
539 mutable scoped_ptr<net::FraudulentCertificateReporter> 540 mutable scoped_ptr<net::FraudulentCertificateReporter>
540 fraudulent_certificate_reporter_; 541 fraudulent_certificate_reporter_;
541 mutable scoped_ptr<net::ProxyService> proxy_service_; 542 mutable scoped_ptr<net::ProxyService> proxy_service_;
542 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_; 543 mutable scoped_ptr<net::TransportSecurityState> transport_security_state_;
544 mutable scoped_ptr<net::CTVerifier> cert_transparency_verifier_;
543 mutable scoped_ptr<net::HttpServerProperties> 545 mutable scoped_ptr<net::HttpServerProperties>
544 http_server_properties_; 546 http_server_properties_;
545 #if defined(OS_CHROMEOS) 547 #if defined(OS_CHROMEOS)
546 // Set to |cert_verifier_| if it references a PolicyCertVerifier. In that 548 // Set to |cert_verifier_| if it references a PolicyCertVerifier. In that
547 // case, the verifier is owned by |cert_verifier_|. Otherwise, set to NULL. 549 // case, the verifier is owned by |cert_verifier_|. Otherwise, set to NULL.
548 mutable policy::PolicyCertVerifier* policy_cert_verifier_; 550 mutable policy::PolicyCertVerifier* policy_cert_verifier_;
549 mutable scoped_ptr<net::CertVerifier> cert_verifier_; 551 mutable scoped_ptr<net::CertVerifier> cert_verifier_;
550 mutable std::string username_hash_; 552 mutable std::string username_hash_;
551 mutable bool use_system_key_slot_; 553 mutable bool use_system_key_slot_;
552 #endif 554 #endif
(...skipping 27 matching lines...) Expand all
580 #endif 582 #endif
581 583
582 #if defined(ENABLE_EXTENSIONS) 584 #if defined(ENABLE_EXTENSIONS)
583 // Is NULL if switches::kDisableExtensionsHttpThrottling is on. 585 // Is NULL if switches::kDisableExtensionsHttpThrottling is on.
584 mutable scoped_ptr<extensions::ExtensionThrottleManager> 586 mutable scoped_ptr<extensions::ExtensionThrottleManager>
585 extension_throttle_manager_; 587 extension_throttle_manager_;
586 #endif 588 #endif
587 589
588 mutable scoped_ptr<DevToolsNetworkController> network_controller_; 590 mutable scoped_ptr<DevToolsNetworkController> network_controller_;
589 591
592 // Must be deleted before the URLRequestContexts
593 mutable scoped_ptr<net::CTVerifier::Observer> cert_transparency_observer_;
Ryan Sleevi 2015/06/29 11:58:13 XXX
594
590 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 595 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
591 bool initialized_on_UI_thread_; 596 bool initialized_on_UI_thread_;
592 597
593 const Profile::ProfileType profile_type_; 598 const Profile::ProfileType profile_type_;
594 599
595 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 600 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
596 }; 601 };
597 602
598 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 603 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698