| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 const QuicConnectionCloseFrame& frame) OVERRIDE { | 100 const QuicConnectionCloseFrame& frame) OVERRIDE { |
| 101 connection_close_frames_.push_back(frame); | 101 connection_close_frames_.push_back(frame); |
| 102 return true; | 102 return true; |
| 103 } | 103 } |
| 104 | 104 |
| 105 virtual bool OnGoAwayFrame(const QuicGoAwayFrame& frame) OVERRIDE { | 105 virtual bool OnGoAwayFrame(const QuicGoAwayFrame& frame) OVERRIDE { |
| 106 goaway_frames_.push_back(frame); | 106 goaway_frames_.push_back(frame); |
| 107 return true; | 107 return true; |
| 108 } | 108 } |
| 109 | 109 |
| 110 virtual bool OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) | 110 virtual bool OnWindowUpdateFrame( |
| 111 OVERRIDE { | 111 const QuicWindowUpdateFrame& frame) OVERRIDE { |
| 112 window_update_frames_.push_back(frame); | 112 window_update_frames_.push_back(frame); |
| 113 return true; | 113 return true; |
| 114 } | 114 } |
| 115 | 115 |
| 116 virtual bool OnBlockedFrame(const QuicBlockedFrame& frame) OVERRIDE { | 116 virtual bool OnBlockedFrame(const QuicBlockedFrame& frame) OVERRIDE { |
| 117 blocked_frames_.push_back(frame); | 117 blocked_frames_.push_back(frame); |
| 118 return true; | 118 return true; |
| 119 } | 119 } |
| 120 | 120 |
| 121 virtual void OnPacketComplete() OVERRIDE {} | 121 virtual void OnPacketComplete() OVERRIDE {} |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 return visitor_->goaway_frames(); | 242 return visitor_->goaway_frames(); |
| 243 } | 243 } |
| 244 | 244 |
| 245 const vector<QuicConnectionCloseFrame>& | 245 const vector<QuicConnectionCloseFrame>& |
| 246 SimpleQuicFramer::connection_close_frames() const { | 246 SimpleQuicFramer::connection_close_frames() const { |
| 247 return visitor_->connection_close_frames(); | 247 return visitor_->connection_close_frames(); |
| 248 } | 248 } |
| 249 | 249 |
| 250 } // namespace test | 250 } // namespace test |
| 251 } // namespace net | 251 } // namespace net |
| OLD | NEW |