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

Side by Side Diff: net/quic/quic_crypto_stream_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_crypto_stream.h ('k') | net/quic/quic_data_stream.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/quic_crypto_stream.h" 5 #include "net/quic/quic_crypto_stream.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 12 matching lines...) Expand all
23 namespace test { 23 namespace test {
24 namespace { 24 namespace {
25 25
26 class MockQuicCryptoStream : public QuicCryptoStream { 26 class MockQuicCryptoStream : public QuicCryptoStream {
27 public: 27 public:
28 explicit MockQuicCryptoStream(QuicSession* session) 28 explicit MockQuicCryptoStream(QuicSession* session)
29 : QuicCryptoStream(session) { 29 : QuicCryptoStream(session) {
30 } 30 }
31 31
32 virtual void OnHandshakeMessage( 32 virtual void OnHandshakeMessage(
33 const CryptoHandshakeMessage& message) OVERRIDE { 33 const CryptoHandshakeMessage& message) override {
34 messages_.push_back(message); 34 messages_.push_back(message);
35 } 35 }
36 36
37 vector<CryptoHandshakeMessage>* messages() { 37 vector<CryptoHandshakeMessage>* messages() {
38 return &messages_; 38 return &messages_;
39 } 39 }
40 40
41 private: 41 private:
42 vector<CryptoHandshakeMessage> messages_; 42 vector<CryptoHandshakeMessage> messages_;
43 43
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } else { 108 } else {
109 EXPECT_TRUE(stream_.flow_controller()->IsEnabled()); 109 EXPECT_TRUE(stream_.flow_controller()->IsEnabled());
110 } 110 }
111 EXPECT_FALSE(ReliableQuicStreamPeer::StreamContributesToConnectionFlowControl( 111 EXPECT_FALSE(ReliableQuicStreamPeer::StreamContributesToConnectionFlowControl(
112 &stream_)); 112 &stream_));
113 } 113 }
114 114
115 } // namespace 115 } // namespace
116 } // namespace test 116 } // namespace test
117 } // namespace net 117 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_stream.h ('k') | net/quic/quic_data_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698