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

Side by Side Diff: net/quic/test_tools/quic_packet_creator_peer.cc

Issue 1421853006: Landing Recent QUIC changes until: Fri Oct 30 22:23:58 2015 +0000 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 5 years, 1 month 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_packet_creator_peer.h ('k') | net/quic/test_tools/quic_session_peer.h » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/test_tools/quic_packet_creator_peer.h" 5 #include "net/quic/test_tools/quic_packet_creator_peer.h"
6 6
7 #include "net/quic/quic_packet_creator.h" 7 #include "net/quic/quic_packet_creator.h"
8 8
9 namespace net { 9 namespace net {
10 namespace test { 10 namespace test {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 QuicPacketNumberLength QuicPacketCreatorPeer::GetPacketNumberLength( 45 QuicPacketNumberLength QuicPacketCreatorPeer::GetPacketNumberLength(
46 QuicPacketCreator* creator) { 46 QuicPacketCreator* creator) {
47 return creator->packet_number_length_; 47 return creator->packet_number_length_;
48 } 48 }
49 49
50 void QuicPacketCreatorPeer::SetPacketNumber(QuicPacketCreator* creator, 50 void QuicPacketCreatorPeer::SetPacketNumber(QuicPacketCreator* creator,
51 QuicPacketNumber s) { 51 QuicPacketNumber s) {
52 creator->packet_number_ = s; 52 creator->packet_number_ = s;
53 } 53 }
54 54
55 // static
56 void QuicPacketCreatorPeer::FillPacketHeader(QuicPacketCreator* creator,
57 QuicFecGroupNumber fec_group,
58 bool fec_flag,
59 QuicPacketHeader* header) {
60 creator->FillPacketHeader(fec_group, fec_flag, header);
61 }
62
55 } // namespace test 63 } // namespace test
56 } // namespace net 64 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_packet_creator_peer.h ('k') | net/quic/test_tools/quic_session_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698