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

Side by Side Diff: ios/chrome/browser/browser_state/chrome_browser_state_io_data.h

Issue 2026213002: Refactor CertificateReportSender (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 IOS_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_IO_DATA_H_ 5 #ifndef IOS_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_IO_DATA_H_
6 #define IOS_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_IO_DATA_H_ 6 #define IOS_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_IO_DATA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 24 matching lines...) Expand all
35 namespace content_settings { 35 namespace content_settings {
36 class CookieSettings; 36 class CookieSettings;
37 } 37 }
38 38
39 namespace ios { 39 namespace ios {
40 class ChromeBrowserState; 40 class ChromeBrowserState;
41 enum class ChromeBrowserStateType; 41 enum class ChromeBrowserStateType;
42 } 42 }
43 43
44 namespace net { 44 namespace net {
45 class CertificateReportSender;
46 class CertVerifier; 45 class CertVerifier;
47 class ChannelIDService; 46 class ChannelIDService;
48 class CookieStore; 47 class CookieStore;
49 class HttpServerProperties; 48 class HttpServerProperties;
50 class HttpTransactionFactory; 49 class HttpTransactionFactory;
51 class ProxyConfigService; 50 class ProxyConfigService;
52 class ProxyService; 51 class ProxyService;
52 class ReportSender;
53 class ServerBoundCertService; 53 class ServerBoundCertService;
54 class SSLConfigService; 54 class SSLConfigService;
55 class TransportSecurityPersister; 55 class TransportSecurityPersister;
56 class TransportSecurityState; 56 class TransportSecurityState;
57 class URLRequestJobFactoryImpl; 57 class URLRequestJobFactoryImpl;
58 } // namespace net 58 } // namespace net
59 59
60 // Conceptually speaking, the ChromeBrowserStateIOData represents data that 60 // Conceptually speaking, the ChromeBrowserStateIOData represents data that
61 // lives on the IO thread that is owned by a ChromeBrowserState, such as, but 61 // lives on the IO thread that is owned by a ChromeBrowserState, such as, but
62 // not limited to, network objects like CookieMonster, HttpTransactionFactory, 62 // not limited to, network objects like CookieMonster, HttpTransactionFactory,
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // Pointed to by URLRequestContext. 284 // Pointed to by URLRequestContext.
285 mutable std::unique_ptr<net::ChannelIDService> channel_id_service_; 285 mutable std::unique_ptr<net::ChannelIDService> channel_id_service_;
286 286
287 mutable std::unique_ptr<net::ProxyService> proxy_service_; 287 mutable std::unique_ptr<net::ProxyService> proxy_service_;
288 mutable std::unique_ptr<net::TransportSecurityState> 288 mutable std::unique_ptr<net::TransportSecurityState>
289 transport_security_state_; 289 transport_security_state_;
290 mutable std::unique_ptr<net::CTVerifier> cert_transparency_verifier_; 290 mutable std::unique_ptr<net::CTVerifier> cert_transparency_verifier_;
291 mutable std::unique_ptr<net::HttpServerProperties> http_server_properties_; 291 mutable std::unique_ptr<net::HttpServerProperties> http_server_properties_;
292 mutable std::unique_ptr<net::TransportSecurityPersister> 292 mutable std::unique_ptr<net::TransportSecurityPersister>
293 transport_security_persister_; 293 transport_security_persister_;
294 mutable std::unique_ptr<net::CertificateReportSender> 294 mutable std::unique_ptr<net::ReportSender> certificate_report_sender_;
295 certificate_report_sender_;
296 295
297 // These are only valid in between LazyInitialize() and their accessor being 296 // These are only valid in between LazyInitialize() and their accessor being
298 // called. 297 // called.
299 mutable std::unique_ptr<net::URLRequestContext> main_request_context_; 298 mutable std::unique_ptr<net::URLRequestContext> main_request_context_;
300 // One URLRequestContext per isolated app for main and media requests. 299 // One URLRequestContext per isolated app for main and media requests.
301 mutable URLRequestContextMap app_request_context_map_; 300 mutable URLRequestContextMap app_request_context_map_;
302 301
303 mutable scoped_refptr<content_settings::CookieSettings> cookie_settings_; 302 mutable scoped_refptr<content_settings::CookieSettings> cookie_settings_;
304 303
305 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 304 mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
306 305
307 mutable std::unique_ptr<IOSChromeHttpUserAgentSettings> 306 mutable std::unique_ptr<IOSChromeHttpUserAgentSettings>
308 chrome_http_user_agent_settings_; 307 chrome_http_user_agent_settings_;
309 308
310 const ios::ChromeBrowserStateType browser_state_type_; 309 const ios::ChromeBrowserStateType browser_state_type_;
311 310
312 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserStateIOData); 311 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserStateIOData);
313 }; 312 };
314 313
315 #endif // IOS_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_IO_DATA_H_ 314 #endif // IOS_CHROME_BROWSER_BROWSER_STATE_CHROME_BROWSER_STATE_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698