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

Side by Side Diff: ios/chrome/browser/ios_chrome_io_thread.h

Issue 1414313002: Allow dynamic updating of authentication policies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Handle conflicting Android Webview change Created 5 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
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_IOS_CHROME_IO_THREAD_H_ 5 #ifndef IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_
6 #define IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ 6 #define IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 22 matching lines...) Expand all
33 } // namespace base 33 } // namespace base
34 34
35 namespace net { 35 namespace net {
36 class CertPolicyEnforcer; 36 class CertPolicyEnforcer;
37 class CertVerifier; 37 class CertVerifier;
38 class ChannelIDService; 38 class ChannelIDService;
39 class CookieStore; 39 class CookieStore;
40 class CTVerifier; 40 class CTVerifier;
41 class HostResolver; 41 class HostResolver;
42 class HttpAuthHandlerFactory; 42 class HttpAuthHandlerFactory;
43 class HttpAuthPreferences;
43 class HttpNetworkSession; 44 class HttpNetworkSession;
44 class HttpServerProperties; 45 class HttpServerProperties;
45 class HttpTransactionFactory; 46 class HttpTransactionFactory;
46 class HttpUserAgentSettings; 47 class HttpUserAgentSettings;
47 class NetworkDelegate; 48 class NetworkDelegate;
48 class NetworkQualityEstimator; 49 class NetworkQualityEstimator;
49 class ProxyConfigService; 50 class ProxyConfigService;
50 class ProxyService; 51 class ProxyService;
51 class SSLConfigService; 52 class SSLConfigService;
52 class TransportSecurityState; 53 class TransportSecurityState;
53 class URLRequestBackoffManager; 54 class URLRequestBackoffManager;
54 class URLRequestContext; 55 class URLRequestContext;
55 class URLRequestContextGetter; 56 class URLRequestContextGetter;
56 class URLRequestJobFactory; 57 class URLRequestJobFactory;
57 class URLSecurityManager;
58 } // namespace net 58 } // namespace net
59 59
60 namespace net_log { 60 namespace net_log {
61 class ChromeNetLog; 61 class ChromeNetLog;
62 } // namespace net_log 62 } // namespace net_log
63 63
64 // Contains state associated with, initialized and cleaned up on, and 64 // Contains state associated with, initialized and cleaned up on, and
65 // primarily used on, the IO thread. 65 // primarily used on, the IO thread.
66 // 66 //
67 // If you are looking to interact with the IO thread (e.g. post tasks 67 // If you are looking to interact with the IO thread (e.g. post tasks
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // This TransportSecurityState doesn't load or save any state. It's only 111 // This TransportSecurityState doesn't load or save any state. It's only
112 // used to enforce pinning for system requests and will only use built-in 112 // used to enforce pinning for system requests and will only use built-in
113 // pins. 113 // pins.
114 scoped_ptr<net::TransportSecurityState> transport_security_state; 114 scoped_ptr<net::TransportSecurityState> transport_security_state;
115 scoped_ptr<net::CTVerifier> cert_transparency_verifier; 115 scoped_ptr<net::CTVerifier> cert_transparency_verifier;
116 scoped_ptr<net::CertPolicyEnforcer> cert_policy_enforcer; 116 scoped_ptr<net::CertPolicyEnforcer> cert_policy_enforcer;
117 scoped_refptr<net::SSLConfigService> ssl_config_service; 117 scoped_refptr<net::SSLConfigService> ssl_config_service;
118 scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory; 118 scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory;
119 scoped_ptr<net::HttpServerProperties> http_server_properties; 119 scoped_ptr<net::HttpServerProperties> http_server_properties;
120 scoped_ptr<net::URLRequestBackoffManager> url_request_backoff_manager; 120 scoped_ptr<net::URLRequestBackoffManager> url_request_backoff_manager;
121 scoped_ptr<net::URLSecurityManager> url_security_manager; 121 scoped_ptr<net::HttpAuthPreferences> http_auth_preferences;
asanka 2015/12/01 05:30:03 Destruction order. http_auth_preferences above htt
aberent 2015/12/01 14:33:25 Done.
122 scoped_ptr<net::ProxyService> system_proxy_service; 122 scoped_ptr<net::ProxyService> system_proxy_service;
123 scoped_ptr<net::HttpNetworkSession> system_http_network_session; 123 scoped_ptr<net::HttpNetworkSession> system_http_network_session;
124 scoped_ptr<net::HttpTransactionFactory> system_http_transaction_factory; 124 scoped_ptr<net::HttpTransactionFactory> system_http_transaction_factory;
125 scoped_ptr<net::URLRequestJobFactory> system_url_request_job_factory; 125 scoped_ptr<net::URLRequestJobFactory> system_url_request_job_factory;
126 scoped_ptr<net::URLRequestContext> system_request_context; 126 scoped_ptr<net::URLRequestContext> system_request_context;
127 SystemRequestContextLeakChecker system_request_context_leak_checker; 127 SystemRequestContextLeakChecker system_request_context_leak_checker;
128 scoped_refptr<net::CookieStore> system_cookie_store; 128 scoped_refptr<net::CookieStore> system_cookie_store;
129 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings; 129 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings;
130 scoped_ptr<net::NetworkQualityEstimator> network_quality_estimator; 130 scoped_ptr<net::NetworkQualityEstimator> network_quality_estimator;
131 uint16 testing_fixed_http_port; 131 uint16 testing_fixed_http_port;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 // Global state must be initialized on the IO thread, then this 235 // Global state must be initialized on the IO thread, then this
236 // method must be invoked on the UI thread. 236 // method must be invoked on the UI thread.
237 void InitSystemRequestContext(); 237 void InitSystemRequestContext();
238 238
239 // Lazy initialization of system request context for 239 // Lazy initialization of system request context for
240 // SystemURLRequestContextGetter. To be called on IO thread only 240 // SystemURLRequestContextGetter. To be called on IO thread only
241 // after global state has been initialized on the IO thread, and 241 // after global state has been initialized on the IO thread, and
242 // SystemRequestContext state has been initialized on the UI thread. 242 // SystemRequestContext state has been initialized on the UI thread.
243 void InitSystemRequestContextOnIOThread(); 243 void InitSystemRequestContextOnIOThread();
244 244
245 net::HttpAuthHandlerFactory* CreateDefaultAuthHandlerFactory( 245 void CreateDefaultAuthHandlerFactory();
246 net::HostResolver* resolver);
247 246
248 // Returns an SSLConfigService instance. 247 // Returns an SSLConfigService instance.
249 net::SSLConfigService* GetSSLConfigService(); 248 net::SSLConfigService* GetSSLConfigService();
250 249
251 void ChangedToOnTheRecordOnIOThread(); 250 void ChangedToOnTheRecordOnIOThread();
252 251
253 // Configures QUIC options based on the QUIC field trial group. 252 // Configures QUIC options based on the QUIC field trial group.
254 void ConfigureQuic(); 253 void ConfigureQuic();
255 254
256 // Configures QUIC options in |globals| based on the flags in |command_line| 255 // Configures QUIC options in |globals| based on the flags in |command_line|
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 system_url_request_context_getter_; 387 system_url_request_context_getter_;
389 388
390 const base::TimeTicks creation_time_; 389 const base::TimeTicks creation_time_;
391 390
392 base::WeakPtrFactory<IOSChromeIOThread> weak_factory_; 391 base::WeakPtrFactory<IOSChromeIOThread> weak_factory_;
393 392
394 DISALLOW_COPY_AND_ASSIGN(IOSChromeIOThread); 393 DISALLOW_COPY_AND_ASSIGN(IOSChromeIOThread);
395 }; 394 };
396 395
397 #endif // IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_ 396 #endif // IOS_CHROME_BROWSER_IOS_CHROME_IO_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698