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

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

Issue 312193005: Pass chrome version and channel in CHLO message to server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use kUACV as the Tag and changed client_description to client_version Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | chrome/browser/io_thread.cc » ('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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 Optional<bool> use_alternate_protocols; 169 Optional<bool> use_alternate_protocols;
170 Optional<bool> enable_websocket_over_spdy; 170 Optional<bool> enable_websocket_over_spdy;
171 171
172 Optional<bool> enable_quic; 172 Optional<bool> enable_quic;
173 Optional<bool> enable_quic_https; 173 Optional<bool> enable_quic_https;
174 Optional<bool> enable_quic_pacing; 174 Optional<bool> enable_quic_pacing;
175 Optional<bool> enable_quic_time_based_loss_detection; 175 Optional<bool> enable_quic_time_based_loss_detection;
176 Optional<bool> enable_quic_persist_server_info; 176 Optional<bool> enable_quic_persist_server_info;
177 Optional<bool> enable_quic_port_selection; 177 Optional<bool> enable_quic_port_selection;
178 Optional<size_t> quic_max_packet_length; 178 Optional<size_t> quic_max_packet_length;
179 Optional<std::string> client_version;
Lei Zhang 2014/06/05 07:30:47 should this be named |quic_client_version| ?
Ryan Hamilton 2014/06/05 14:12:15 nit: quic_client_version; (or quic_client_descript
ramant (doing other things) 2014/06/05 17:07:49 per Per jar/rch, changed |client_version| to |quic
ramant (doing other things) 2014/06/05 17:07:49 Per jar/rch, changed |client_version| to |quic_use
179 Optional<net::QuicVersionVector> quic_supported_versions; 180 Optional<net::QuicVersionVector> quic_supported_versions;
180 Optional<net::HostPortPair> origin_to_force_quic_on; 181 Optional<net::HostPortPair> origin_to_force_quic_on;
181 bool enable_user_alternate_protocol_ports; 182 bool enable_user_alternate_protocol_ports;
182 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a 183 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a
183 // main frame load fails with a DNS error in order to provide more useful 184 // main frame load fails with a DNS error in order to provide more useful
184 // information to the renderer so it can show a more specific error page. 185 // information to the renderer so it can show a more specific error page.
185 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; 186 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service;
186 scoped_ptr<data_reduction_proxy::DataReductionProxyParams> 187 scoped_ptr<data_reduction_proxy::DataReductionProxyParams>
187 data_reduction_proxy_params; 188 data_reduction_proxy_params;
188 }; 189 };
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 bool is_spdy_disabled_by_policy_; 373 bool is_spdy_disabled_by_policy_;
373 374
374 base::WeakPtrFactory<IOThread> weak_factory_; 375 base::WeakPtrFactory<IOThread> weak_factory_;
375 376
376 const base::TimeTicks creation_time_; 377 const base::TimeTicks creation_time_;
377 378
378 DISALLOW_COPY_AND_ASSIGN(IOThread); 379 DISALLOW_COPY_AND_ASSIGN(IOThread);
379 }; 380 };
380 381
381 #endif // CHROME_BROWSER_IO_THREAD_H_ 382 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | chrome/browser/io_thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698