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

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

Issue 177073016: QUIC - minor cleanup while merging internal change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « no previous file | no next file » | 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698