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

Side by Side Diff: net/quic/quic_stream_sequencer_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_stream_factory.cc ('k') | net/quic/quic_time_wait_list_manager.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_stream_sequencer.h" 5 #include "net/quic/quic_stream_sequencer.h"
6 6
7 #include <utility> 7 #include <utility>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 26 matching lines...) Expand all
37 MockStream(QuicSession* session, QuicStreamId id) 37 MockStream(QuicSession* session, QuicStreamId id)
38 : ReliableQuicStream(id, session) { 38 : ReliableQuicStream(id, session) {
39 } 39 }
40 40
41 MOCK_METHOD0(OnFinRead, void()); 41 MOCK_METHOD0(OnFinRead, void());
42 MOCK_METHOD2(ProcessRawData, uint32(const char* data, uint32 data_len)); 42 MOCK_METHOD2(ProcessRawData, uint32(const char* data, uint32 data_len));
43 MOCK_METHOD2(CloseConnectionWithDetails, void(QuicErrorCode error, 43 MOCK_METHOD2(CloseConnectionWithDetails, void(QuicErrorCode error,
44 const string& details)); 44 const string& details));
45 MOCK_METHOD1(Reset, void(QuicRstStreamErrorCode error)); 45 MOCK_METHOD1(Reset, void(QuicRstStreamErrorCode error));
46 MOCK_METHOD0(OnCanWrite, void()); 46 MOCK_METHOD0(OnCanWrite, void());
47 virtual QuicPriority EffectivePriority() const OVERRIDE { 47 virtual QuicPriority EffectivePriority() const override {
48 return QuicUtils::HighestPriority(); 48 return QuicUtils::HighestPriority();
49 } 49 }
50 virtual bool IsFlowControlEnabled() const { 50 virtual bool IsFlowControlEnabled() const {
51 return true; 51 return true;
52 } 52 }
53 }; 53 };
54 54
55 namespace { 55 namespace {
56 56
57 static const char kPayload[] = 57 static const char kPayload[] =
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 QuicStreamFrame frame2(kClientDataStreamId1, false, 2, MakeIOVector("hello")); 436 QuicStreamFrame frame2(kClientDataStreamId1, false, 2, MakeIOVector("hello"));
437 EXPECT_TRUE(sequencer_->FrameOverlapsBufferedData(frame2)); 437 EXPECT_TRUE(sequencer_->FrameOverlapsBufferedData(frame2));
438 EXPECT_CALL(stream_, CloseConnectionWithDetails(QUIC_INVALID_STREAM_FRAME, _)) 438 EXPECT_CALL(stream_, CloseConnectionWithDetails(QUIC_INVALID_STREAM_FRAME, _))
439 .Times(1); 439 .Times(1);
440 sequencer_->OnStreamFrame(frame2); 440 sequencer_->OnStreamFrame(frame2);
441 } 441 }
442 442
443 } // namespace 443 } // namespace
444 } // namespace test 444 } // namespace test
445 } // namespace net 445 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_stream_factory.cc ('k') | net/quic/quic_time_wait_list_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698