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

Side by Side Diff: net/quic/quic_packet_creator_test.cc

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment Created 6 years, 2 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/quic_packet_creator.h ('k') | net/quic/quic_packet_generator_test.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 #include "net/quic/quic_packet_creator.h" 5 #include "net/quic/quic_packet_creator.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "net/quic/crypto/null_encrypter.h" 8 #include "net/quic/crypto/null_encrypter.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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 false), 68 false),
69 sequence_number_(0), 69 sequence_number_(0),
70 connection_id_(2), 70 connection_id_(2),
71 data_("foo"), 71 data_("foo"),
72 creator_(connection_id_, &client_framer_, &mock_random_) { 72 creator_(connection_id_, &client_framer_, &mock_random_) {
73 client_framer_.set_visitor(&framer_visitor_); 73 client_framer_.set_visitor(&framer_visitor_);
74 client_framer_.set_received_entropy_calculator(&entropy_calculator_); 74 client_framer_.set_received_entropy_calculator(&entropy_calculator_);
75 server_framer_.set_visitor(&framer_visitor_); 75 server_framer_.set_visitor(&framer_visitor_);
76 } 76 }
77 77
78 virtual ~QuicPacketCreatorTest() OVERRIDE { 78 virtual ~QuicPacketCreatorTest() override {
79 } 79 }
80 80
81 void ProcessPacket(QuicPacket* packet) { 81 void ProcessPacket(QuicPacket* packet) {
82 scoped_ptr<QuicEncryptedPacket> encrypted( 82 scoped_ptr<QuicEncryptedPacket> encrypted(
83 server_framer_.EncryptPacket(ENCRYPTION_NONE, sequence_number_, 83 server_framer_.EncryptPacket(ENCRYPTION_NONE, sequence_number_,
84 *packet)); 84 *packet));
85 server_framer_.ProcessPacket(*encrypted); 85 server_framer_.ProcessPacket(*encrypted);
86 } 86 }
87 87
88 void CheckStreamFrame(const QuicFrame& frame, 88 void CheckStreamFrame(const QuicFrame& frame,
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 // After 64 calls, BoolSource will refresh the bucket - make sure it does. 1012 // After 64 calls, BoolSource will refresh the bucket - make sure it does.
1013 mock_random_.ChangeValue(); 1013 mock_random_.ChangeValue();
1014 } 1014 }
1015 1015
1016 delete frames_[0].stream_frame; 1016 delete frames_[0].stream_frame;
1017 } 1017 }
1018 1018
1019 } // namespace 1019 } // namespace
1020 } // namespace test 1020 } // namespace test
1021 } // namespace net 1021 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_packet_creator.h ('k') | net/quic/quic_packet_generator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698