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

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

Issue 188333003: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compilation error - added NET_EXPORT_PRIVATE to QuicFixedUint32 Created 6 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/test_tools/quic_test_utils.cc ('k') | net/tools/quic/quic_dispatcher.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) 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } 133 }
134 const vector<QuicRstStreamFrame>& rst_stream_frames() const { 134 const vector<QuicRstStreamFrame>& rst_stream_frames() const {
135 return rst_stream_frames_; 135 return rst_stream_frames_;
136 } 136 }
137 const vector<QuicStreamFrame>& stream_frames() const { 137 const vector<QuicStreamFrame>& stream_frames() const {
138 return stream_frames_; 138 return stream_frames_;
139 } 139 }
140 const vector<QuicStopWaitingFrame>& stop_waiting_frames() const { 140 const vector<QuicStopWaitingFrame>& stop_waiting_frames() const {
141 return stop_waiting_frames_; 141 return stop_waiting_frames_;
142 } 142 }
143 const vector<QuicWindowUpdateFrame>& window_update_frames() const {
144 return window_update_frames_;
145 }
146 const vector<QuicBlockedFrame>& blocked_frames() const {
147 return blocked_frames_;
148 }
149 const QuicFecData& fec_data() const { 143 const QuicFecData& fec_data() const {
150 return fec_data_; 144 return fec_data_;
151 } 145 }
152 146
153 private: 147 private:
154 QuicErrorCode error_; 148 QuicErrorCode error_;
155 bool has_header_; 149 bool has_header_;
156 QuicPacketHeader header_; 150 QuicPacketHeader header_;
157 QuicFecData fec_data_; 151 QuicFecData fec_data_;
158 string fec_redundancy_; 152 string fec_redundancy_;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 return visitor_->goaway_frames(); 236 return visitor_->goaway_frames();
243 } 237 }
244 238
245 const vector<QuicConnectionCloseFrame>& 239 const vector<QuicConnectionCloseFrame>&
246 SimpleQuicFramer::connection_close_frames() const { 240 SimpleQuicFramer::connection_close_frames() const {
247 return visitor_->connection_close_frames(); 241 return visitor_->connection_close_frames();
248 } 242 }
249 243
250 } // namespace test 244 } // namespace test
251 } // namespace net 245 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_test_utils.cc ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698