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

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

Issue 1495243002: Remove EncryptionLevel from QUIC's RetransmittableFrames and add it to TransmissionInfo. No functi… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@108735153
Patch Set: Created 5 years 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') | no next file » | 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 creator->FillPacketHeader(fec_group, fec_flag, header); 60 creator->FillPacketHeader(fec_group, fec_flag, header);
61 } 61 }
62 62
63 // static 63 // static
64 size_t QuicPacketCreatorPeer::CreateStreamFrame(QuicPacketCreator* creator, 64 size_t QuicPacketCreatorPeer::CreateStreamFrame(QuicPacketCreator* creator,
65 QuicStreamId id, 65 QuicStreamId id,
66 QuicIOVector iov, 66 QuicIOVector iov,
67 size_t iov_offset, 67 size_t iov_offset,
68 QuicStreamOffset offset, 68 QuicStreamOffset offset,
69 bool fin, 69 bool fin,
70 QuicFrame* frame, 70 QuicFrame* frame) {
71 UniqueStreamBuffer* buffer) {
72 return creator->CreateStreamFrame(id, iov, iov_offset, offset, fin, frame); 71 return creator->CreateStreamFrame(id, iov, iov_offset, offset, fin, frame);
73 } 72 }
74 73
75 // static 74 // static
76 bool QuicPacketCreatorPeer::IsFecProtected(QuicPacketCreator* creator) { 75 bool QuicPacketCreatorPeer::IsFecProtected(QuicPacketCreator* creator) {
77 return creator->fec_protect_; 76 return creator->fec_protect_;
78 } 77 }
79 78
80 // static 79 // static
81 bool QuicPacketCreatorPeer::IsFecEnabled(QuicPacketCreator* creator) { 80 bool QuicPacketCreatorPeer::IsFecEnabled(QuicPacketCreator* creator) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 } 118 }
120 119
121 // static 120 // static
122 EncryptionLevel QuicPacketCreatorPeer::GetEncryptionLevel( 121 EncryptionLevel QuicPacketCreatorPeer::GetEncryptionLevel(
123 QuicPacketCreator* creator) { 122 QuicPacketCreator* creator) {
124 return creator->encryption_level_; 123 return creator->encryption_level_;
125 } 124 }
126 125
127 } // namespace test 126 } // namespace test
128 } // namespace net 127 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_packet_creator_peer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698