| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |