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

Side by Side Diff: net/tools/quic/quic_client.h

Issue 1811043002: Landing Recent QUIC changes until 2016-03-15 16:26 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add an export clause. Created 4 years, 9 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 | « net/quic/test_tools/quic_test_utils.h ('k') | net/tools/quic/quic_client.cc » ('j') | no next file with comments »
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 // A toy client, which connects to a specified port and sends QUIC 5 // A toy client, which connects to a specified port and sends QUIC
6 // request to that endpoint. 6 // request to that endpoint.
7 7
8 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_H_ 8 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_H_
9 #define NET_TOOLS_QUIC_QUIC_CLIENT_H_ 9 #define NET_TOOLS_QUIC_QUIC_CLIENT_H_
10 10
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 bool initialized_; 274 bool initialized_;
275 275
276 // If overflow_supported_ is true, this will be the number of packets dropped 276 // If overflow_supported_ is true, this will be the number of packets dropped
277 // during the lifetime of the server. 277 // during the lifetime of the server.
278 QuicPacketCount packets_dropped_; 278 QuicPacketCount packets_dropped_;
279 279
280 // True if the kernel supports SO_RXQ_OVFL, the number of packets dropped 280 // True if the kernel supports SO_RXQ_OVFL, the number of packets dropped
281 // because the socket would otherwise overflow. 281 // because the socket would otherwise overflow.
282 bool overflow_supported_; 282 bool overflow_supported_;
283 283
284 // If true, use recvmmsg for reading.
285 bool use_recvmmsg_;
286
287 // If true, store the latest response code, headers, and body. 284 // If true, store the latest response code, headers, and body.
288 bool store_response_; 285 bool store_response_;
289 // HTTP response code from most recent response. 286 // HTTP response code from most recent response.
290 size_t latest_response_code_; 287 size_t latest_response_code_;
291 // HTTP/2 headers from most recent response. 288 // HTTP/2 headers from most recent response.
292 std::string latest_response_headers_; 289 std::string latest_response_headers_;
293 // Body of most recent response. 290 // Body of most recent response.
294 std::string latest_response_body_; 291 std::string latest_response_body_;
295 // HTTP/2 trailers from most recent response. 292 // HTTP/2 trailers from most recent response.
296 std::string latest_response_trailers_; 293 std::string latest_response_trailers_;
(...skipping 13 matching lines...) Expand all
310 scoped_ptr<QuicPacketReader> packet_reader_; 307 scoped_ptr<QuicPacketReader> packet_reader_;
311 308
312 std::unique_ptr<ClientQuicDataToResend> push_promise_data_to_resend_; 309 std::unique_ptr<ClientQuicDataToResend> push_promise_data_to_resend_;
313 310
314 DISALLOW_COPY_AND_ASSIGN(QuicClient); 311 DISALLOW_COPY_AND_ASSIGN(QuicClient);
315 }; 312 };
316 313
317 } // namespace net 314 } // namespace net
318 315
319 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_H_ 316 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_test_utils.h ('k') | net/tools/quic/quic_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698