| Index: chrome/browser/profiles/profile_io_data.h
|
| diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
|
| index 4b2937b7b97303a1c2a56c29d905f22fa6df0220..cd0d9903ee7bf43c11f33b92fbf6d1839daef7a6 100644
|
| --- a/chrome/browser/profiles/profile_io_data.h
|
| +++ b/chrome/browser/profiles/profile_io_data.h
|
| @@ -260,6 +260,20 @@ class ProfileIOData {
|
| void SetHttpTransactionFactory(
|
| scoped_ptr<net::HttpTransactionFactory> http_factory);
|
| void SetJobFactory(scoped_ptr<net::URLRequestJobFactory> job_factory);
|
| + void SetHostResolver(scoped_ptr<net::HostResolver> host_resolver);
|
| + void SetCertVerifier(scoped_ptr<net::CertVerifier> vert_verifier);
|
| + void SetChannelIDService(
|
| + scoped_ptr<net::ChannelIDService> channel_id_service);
|
| + void SetTransportSecurityState(
|
| + scoped_ptr<net::TransportSecurityState> transport_security_state);
|
| + void SetCertTransparencyVerifier(
|
| + scoped_ptr<net::CTVerifier> cert_transparency_verifier);
|
| + void SetCertPolicyEnforcer(
|
| + scoped_ptr<net::CertPolicyEnforcer> cert_policy_enforcer);
|
| + net::CertPolicyEnforcer* cert_policy_enforcer() {
|
| + return owned_cert_policy_enforcer_.get();
|
| + }
|
| + void SetSSLConfigService(net::SSLConfigService* ssl_config_service);
|
|
|
| private:
|
| ~AppRequestContext() override;
|
| @@ -267,6 +281,16 @@ class ProfileIOData {
|
| scoped_refptr<net::CookieStore> cookie_store_;
|
| scoped_ptr<net::HttpTransactionFactory> http_factory_;
|
| scoped_ptr<net::URLRequestJobFactory> job_factory_;
|
| + // The AppRequestContext needs to own certain state required by its
|
| + // isolated HttpNetworkSession.
|
| + scoped_ptr<net::HostResolver> owned_host_resolver_;
|
| + scoped_ptr<net::CertVerifier> owned_cert_verifier_;
|
| + scoped_ptr<net::ChannelIDService> owned_channel_id_service_;
|
| + scoped_ptr<net::TransportSecurityState> owned_transport_security_state_;
|
| + scoped_ptr<net::CTVerifier> owned_cert_transparency_verifier_;
|
| + scoped_ptr<net::CertPolicyEnforcer> owned_cert_policy_enforcer_;
|
| + // SSLConfigService is ref-counted.
|
| + net::SSLConfigService* owned_ssl_config_service_;
|
| };
|
|
|
| // Created on the UI thread, read on the IO thread during ProfileIOData lazy
|
|
|