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

Side by Side Diff: chrome/browser/io_thread.h

Issue 353713005: Implements new, more robust design for communicating between SSLConnectJobs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rewrote the MockSSLClientSocket connect state loop to use the typical Chrome structure & fixed bugs… Created 6 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | net/socket/socket_test_util.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_IO_THREAD_H_ 5 #ifndef CHROME_BROWSER_IO_THREAD_H_
6 #define CHROME_BROWSER_IO_THREAD_H_ 6 #define CHROME_BROWSER_IO_THREAD_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 scoped_ptr<net::HttpTransactionFactory> system_http_transaction_factory; 145 scoped_ptr<net::HttpTransactionFactory> system_http_transaction_factory;
146 scoped_ptr<net::URLRequestContext> system_request_context; 146 scoped_ptr<net::URLRequestContext> system_request_context;
147 SystemRequestContextLeakChecker system_request_context_leak_checker; 147 SystemRequestContextLeakChecker system_request_context_leak_checker;
148 // |system_cookie_store| and |system_server_bound_cert_service| are shared 148 // |system_cookie_store| and |system_server_bound_cert_service| are shared
149 // between |proxy_script_fetcher_context| and |system_request_context|. 149 // between |proxy_script_fetcher_context| and |system_request_context|.
150 scoped_refptr<net::CookieStore> system_cookie_store; 150 scoped_refptr<net::CookieStore> system_cookie_store;
151 scoped_refptr<extensions::EventRouterForwarder> 151 scoped_refptr<extensions::EventRouterForwarder>
152 extension_event_router_forwarder; 152 extension_event_router_forwarder;
153 scoped_ptr<net::HostMappingRules> host_mapping_rules; 153 scoped_ptr<net::HostMappingRules> host_mapping_rules;
154 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings; 154 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings;
155 bool enable_ssl_connect_job_waiting;
155 bool ignore_certificate_errors; 156 bool ignore_certificate_errors;
156 uint16 testing_fixed_http_port; 157 uint16 testing_fixed_http_port;
157 uint16 testing_fixed_https_port; 158 uint16 testing_fixed_https_port;
158 159
159 Optional<size_t> initial_max_spdy_concurrent_streams; 160 Optional<size_t> initial_max_spdy_concurrent_streams;
160 Optional<bool> force_spdy_single_domain; 161 Optional<bool> force_spdy_single_domain;
161 Optional<bool> enable_spdy_compression; 162 Optional<bool> enable_spdy_compression;
162 Optional<bool> enable_spdy_ping_based_connection_checking; 163 Optional<bool> enable_spdy_ping_based_connection_checking;
163 Optional<net::NextProto> spdy_default_protocol; 164 Optional<net::NextProto> spdy_default_protocol;
164 net::NextProtoVector next_protos; 165 net::NextProtoVector next_protos;
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 bool is_spdy_disabled_by_policy_; 374 bool is_spdy_disabled_by_policy_;
374 375
375 base::WeakPtrFactory<IOThread> weak_factory_; 376 base::WeakPtrFactory<IOThread> weak_factory_;
376 377
377 const base::TimeTicks creation_time_; 378 const base::TimeTicks creation_time_;
378 379
379 DISALLOW_COPY_AND_ASSIGN(IOThread); 380 DISALLOW_COPY_AND_ASSIGN(IOThread);
380 }; 381 };
381 382
382 #endif // CHROME_BROWSER_IO_THREAD_H_ 383 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | net/socket/socket_test_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698