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

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

Issue 974563002: CL generated with data from dead-code analysis using (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_ability_to_disable_flow_control_86960342
Patch Set: Created 5 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/simple_quic_framer.h ('k') | net/tools/quic/quic_server_session_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/test_tools/simple_quic_framer.h" 5 #include "net/quic/test_tools/simple_quic_framer.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "net/quic/crypto/crypto_framer.h" 8 #include "net/quic/crypto/crypto_framer.h"
9 #include "net/quic/crypto/quic_decrypter.h" 9 #include "net/quic/crypto/quic_decrypter.h"
10 #include "net/quic/crypto/quic_encrypter.h" 10 #include "net/quic/crypto/quic_encrypter.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 201
202 const QuicFecData& SimpleQuicFramer::fec_data() const { 202 const QuicFecData& SimpleQuicFramer::fec_data() const {
203 return visitor_->fec_data(); 203 return visitor_->fec_data();
204 } 204 }
205 205
206 const QuicVersionNegotiationPacket* 206 const QuicVersionNegotiationPacket*
207 SimpleQuicFramer::version_negotiation_packet() const { 207 SimpleQuicFramer::version_negotiation_packet() const {
208 return visitor_->version_negotiation_packet(); 208 return visitor_->version_negotiation_packet();
209 } 209 }
210 210
211 const QuicPublicResetPacket* SimpleQuicFramer::public_reset_packet() const {
212 return visitor_->public_reset_packet();
213 }
214
215 QuicFramer* SimpleQuicFramer::framer() { 211 QuicFramer* SimpleQuicFramer::framer() {
216 return &framer_; 212 return &framer_;
217 } 213 }
218 214
219 size_t SimpleQuicFramer::num_frames() const { 215 size_t SimpleQuicFramer::num_frames() const {
220 return ack_frames().size() + 216 return ack_frames().size() +
221 goaway_frames().size() + 217 goaway_frames().size() +
222 rst_stream_frames().size() + 218 rst_stream_frames().size() +
223 stop_waiting_frames().size() + 219 stop_waiting_frames().size() +
224 stream_frames().size() + 220 stream_frames().size() +
(...skipping 27 matching lines...) Expand all
252 return visitor_->goaway_frames(); 248 return visitor_->goaway_frames();
253 } 249 }
254 250
255 const vector<QuicConnectionCloseFrame>& 251 const vector<QuicConnectionCloseFrame>&
256 SimpleQuicFramer::connection_close_frames() const { 252 SimpleQuicFramer::connection_close_frames() const {
257 return visitor_->connection_close_frames(); 253 return visitor_->connection_close_frames();
258 } 254 }
259 255
260 } // namespace test 256 } // namespace test
261 } // namespace net 257 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/simple_quic_framer.h ('k') | net/tools/quic/quic_server_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698