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

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

Issue 1502503002: Move encryption_level from QueuedPacket into SerializedPacket. No functional change. Not flag pro… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@108718393
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') | net/quic/test_tools/quic_test_utils.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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 QuicPacketCreator* creator) { 111 QuicPacketCreator* creator) {
112 return creator->fec_timeout_; 112 return creator->fec_timeout_;
113 } 113 }
114 114
115 // static 115 // static
116 float QuicPacketCreatorPeer::GetRttMultiplierForFecTimeout( 116 float QuicPacketCreatorPeer::GetRttMultiplierForFecTimeout(
117 QuicPacketCreator* creator) { 117 QuicPacketCreator* creator) {
118 return creator->rtt_multiplier_for_fec_timeout_; 118 return creator->rtt_multiplier_for_fec_timeout_;
119 } 119 }
120 120
121 // static
122 EncryptionLevel QuicPacketCreatorPeer::GetEncryptionLevel(
123 QuicPacketCreator* creator) {
124 return creator->encryption_level_;
125 }
126
121 } // namespace test 127 } // namespace test
122 } // namespace net 128 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_packet_creator_peer.h ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698