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

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

Issue 1782143003: Remove FEC code from receive path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@115997404
Patch Set: Created 4 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/quic_test_utils.cc ('k') | net/quic/test_tools/simple_quic_framer.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 #ifndef NET_QUIC_TEST_TOOLS_SIMPLE_QUIC_FRAMER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_SIMPLE_QUIC_FRAMER_H_
6 #define NET_QUIC_TEST_TOOLS_SIMPLE_QUIC_FRAMER_H_ 6 #define NET_QUIC_TEST_TOOLS_SIMPLE_QUIC_FRAMER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 28 matching lines...) Expand all
39 39
40 const QuicPacketHeader& header() const; 40 const QuicPacketHeader& header() const;
41 size_t num_frames() const; 41 size_t num_frames() const;
42 const std::vector<QuicAckFrame>& ack_frames() const; 42 const std::vector<QuicAckFrame>& ack_frames() const;
43 const std::vector<QuicConnectionCloseFrame>& connection_close_frames() const; 43 const std::vector<QuicConnectionCloseFrame>& connection_close_frames() const;
44 const std::vector<QuicStopWaitingFrame>& stop_waiting_frames() const; 44 const std::vector<QuicStopWaitingFrame>& stop_waiting_frames() const;
45 const std::vector<QuicPingFrame>& ping_frames() const; 45 const std::vector<QuicPingFrame>& ping_frames() const;
46 const std::vector<QuicGoAwayFrame>& goaway_frames() const; 46 const std::vector<QuicGoAwayFrame>& goaway_frames() const;
47 const std::vector<QuicRstStreamFrame>& rst_stream_frames() const; 47 const std::vector<QuicRstStreamFrame>& rst_stream_frames() const;
48 const std::vector<QuicStreamFrame*>& stream_frames() const; 48 const std::vector<QuicStreamFrame*>& stream_frames() const;
49 base::StringPiece fec_data() const;
50 const QuicVersionNegotiationPacket* version_negotiation_packet() const; 49 const QuicVersionNegotiationPacket* version_negotiation_packet() const;
51 50
52 QuicFramer* framer(); 51 QuicFramer* framer();
53 52
54 void SetSupportedVersions(const QuicVersionVector& versions) { 53 void SetSupportedVersions(const QuicVersionVector& versions) {
55 framer_.SetSupportedVersions(versions); 54 framer_.SetSupportedVersions(versions);
56 } 55 }
57 56
58 private: 57 private:
59 QuicFramer framer_; 58 QuicFramer framer_;
60 scoped_ptr<SimpleFramerVisitor> visitor_; 59 scoped_ptr<SimpleFramerVisitor> visitor_;
61 DISALLOW_COPY_AND_ASSIGN(SimpleQuicFramer); 60 DISALLOW_COPY_AND_ASSIGN(SimpleQuicFramer);
62 }; 61 };
63 62
64 } // namespace test 63 } // namespace test
65 64
66 } // namespace net 65 } // namespace net
67 66
68 #endif // NET_QUIC_TEST_TOOLS_SIMPLE_QUIC_FRAMER_H_ 67 #endif // NET_QUIC_TEST_TOOLS_SIMPLE_QUIC_FRAMER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_test_utils.cc ('k') | net/quic/test_tools/simple_quic_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698