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

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

Issue 1378613004: Set Token-Binding HTTP header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tb-tls-ext-new
Patch Set: fix build issues Created 4 years, 11 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_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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 Optional<bool> quic_close_sessions_on_ip_change; 240 Optional<bool> quic_close_sessions_on_ip_change;
241 Optional<int> quic_idle_connection_timeout_seconds; 241 Optional<int> quic_idle_connection_timeout_seconds;
242 Optional<bool> quic_disable_preconnect_if_0rtt; 242 Optional<bool> quic_disable_preconnect_if_0rtt;
243 std::unordered_set<std::string> quic_host_whitelist; 243 std::unordered_set<std::string> quic_host_whitelist;
244 Optional<bool> quic_migrate_sessions_on_network_change; 244 Optional<bool> quic_migrate_sessions_on_network_change;
245 bool enable_user_alternate_protocol_ports; 245 bool enable_user_alternate_protocol_ports;
246 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a 246 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a
247 // main frame load fails with a DNS error in order to provide more useful 247 // main frame load fails with a DNS error in order to provide more useful
248 // information to the renderer so it can show a more specific error page. 248 // information to the renderer so it can show a more specific error page.
249 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; 249 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service;
250 bool enable_token_binding;
250 }; 251 };
251 252
252 // |net_log| must either outlive the IOThread or be NULL. 253 // |net_log| must either outlive the IOThread or be NULL.
253 IOThread(PrefService* local_state, 254 IOThread(PrefService* local_state,
254 policy::PolicyService* policy_service, 255 policy::PolicyService* policy_service,
255 net_log::ChromeNetLog* net_log, 256 net_log::ChromeNetLog* net_log,
256 extensions::EventRouterForwarder* extension_event_router_forwarder); 257 extensions::EventRouterForwarder* extension_event_router_forwarder);
257 258
258 ~IOThread() override; 259 ~IOThread() override;
259 260
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 bool is_quic_allowed_by_policy_; 584 bool is_quic_allowed_by_policy_;
584 585
585 const base::TimeTicks creation_time_; 586 const base::TimeTicks creation_time_;
586 587
587 base::WeakPtrFactory<IOThread> weak_factory_; 588 base::WeakPtrFactory<IOThread> weak_factory_;
588 589
589 DISALLOW_COPY_AND_ASSIGN(IOThread); 590 DISALLOW_COPY_AND_ASSIGN(IOThread);
590 }; 591 };
591 592
592 #endif // CHROME_BROWSER_IO_THREAD_H_ 593 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698