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

Side by Side Diff: net/quic/core/quic_protocol.cc

Issue 2430973004: Landing Recent QUIC changes until 10:38 AM, Oct 17, 2016 UTC-4 (Closed)
Patch Set: Improving flagsaver logging Created 4 years, 2 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/core/quic_protocol.h ('k') | net/quic/core/quic_protocol_test.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 #include "net/quic/core/quic_protocol.h" 5 #include "net/quic/core/quic_protocol.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "net/quic/core/quic_flags.h" 9 #include "net/quic/core/quic_flags.h"
10 #include "net/quic/core/quic_utils.h" 10 #include "net/quic/core/quic_utils.h"
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 ack_delay_time(QuicTime::Delta::Infinite()), 330 ack_delay_time(QuicTime::Delta::Infinite()),
331 path_id(kDefaultPathId), 331 path_id(kDefaultPathId),
332 entropy_hash(0), 332 entropy_hash(0),
333 is_truncated(false), 333 is_truncated(false),
334 missing(true) {} 334 missing(true) {}
335 335
336 QuicAckFrame::QuicAckFrame(const QuicAckFrame& other) = default; 336 QuicAckFrame::QuicAckFrame(const QuicAckFrame& other) = default;
337 337
338 QuicAckFrame::~QuicAckFrame() {} 338 QuicAckFrame::~QuicAckFrame() {}
339 339
340 QuicRstStreamErrorCode AdjustErrorForVersion(QuicRstStreamErrorCode error_code,
341 QuicVersion /*version*/) {
342 return error_code;
343 }
344
345 QuicRstStreamFrame::QuicRstStreamFrame() 340 QuicRstStreamFrame::QuicRstStreamFrame()
346 : stream_id(0), error_code(QUIC_STREAM_NO_ERROR), byte_offset(0) {} 341 : stream_id(0), error_code(QUIC_STREAM_NO_ERROR), byte_offset(0) {}
347 342
348 QuicRstStreamFrame::QuicRstStreamFrame(QuicStreamId stream_id, 343 QuicRstStreamFrame::QuicRstStreamFrame(QuicStreamId stream_id,
349 QuicRstStreamErrorCode error_code, 344 QuicRstStreamErrorCode error_code,
350 QuicStreamOffset bytes_written) 345 QuicStreamOffset bytes_written)
351 : stream_id(stream_id), 346 : stream_id(stream_id),
352 error_code(error_code), 347 error_code(error_code),
353 byte_offset(bytes_written) {} 348 byte_offset(bytes_written) {}
354 349
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 is_unackable(false), 847 is_unackable(false),
853 has_crypto_handshake(has_crypto_handshake), 848 has_crypto_handshake(has_crypto_handshake),
854 num_padding_bytes(num_padding_bytes), 849 num_padding_bytes(num_padding_bytes),
855 retransmission(0) {} 850 retransmission(0) {}
856 851
857 TransmissionInfo::TransmissionInfo(const TransmissionInfo& other) = default; 852 TransmissionInfo::TransmissionInfo(const TransmissionInfo& other) = default;
858 853
859 TransmissionInfo::~TransmissionInfo() {} 854 TransmissionInfo::~TransmissionInfo() {}
860 855
861 } // namespace net 856 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_protocol.h ('k') | net/quic/core/quic_protocol_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698