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

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

Issue 181483006: PACKET_NBYTE_GUID -> PACKET_NBYTE_CONNECTION_ID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: small comment fix 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 | « net/quic/quic_crypto_server_stream.cc ('k') | net/quic/quic_framer.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_data_stream.h" 5 #include "net/quic/quic_data_stream.h"
6 6
7 #include "net/quic/quic_ack_notifier.h" 7 #include "net/quic/quic_ack_notifier.h"
8 #include "net/quic/quic_connection.h" 8 #include "net/quic/quic_connection.h"
9 #include "net/quic/quic_spdy_compressor.h" 9 #include "net/quic/quic_spdy_compressor.h"
10 #include "net/quic/quic_spdy_decompressor.h" 10 #include "net/quic/quic_spdy_decompressor.h"
(...skipping 10 matching lines...) Expand all
21 using testing::InSequence; 21 using testing::InSequence;
22 using testing::Return; 22 using testing::Return;
23 using testing::SaveArg; 23 using testing::SaveArg;
24 using testing::StrEq; 24 using testing::StrEq;
25 using testing::StrictMock; 25 using testing::StrictMock;
26 26
27 namespace net { 27 namespace net {
28 namespace test { 28 namespace test {
29 namespace { 29 namespace {
30 30
31 const QuicGuid kStreamId = 3; 31 const QuicConnectionId kStreamId = 3;
32 const bool kIsServer = true; 32 const bool kIsServer = true;
33 const bool kShouldProcessData = true; 33 const bool kShouldProcessData = true;
34 34
35 class TestStream : public QuicDataStream { 35 class TestStream : public QuicDataStream {
36 public: 36 public:
37 TestStream(QuicStreamId id, 37 TestStream(QuicStreamId id,
38 QuicSession* session, 38 QuicSession* session,
39 bool should_process_data) 39 bool should_process_data)
40 : QuicDataStream(id, session), 40 : QuicDataStream(id, session),
41 should_process_data_(should_process_data) {} 41 should_process_data_(should_process_data) {}
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 EXPECT_CALL(*connection_, SendConnectionClose(QUIC_INVALID_HEADER_ID)) 557 EXPECT_CALL(*connection_, SendConnectionClose(QUIC_INVALID_HEADER_ID))
558 .Times(0); 558 .Times(0);
559 QuicStreamFrame frame2(stream_->id(), false, compressed_headers.length(), 559 QuicStreamFrame frame2(stream_->id(), false, compressed_headers.length(),
560 MakeIOVector("body data")); 560 MakeIOVector("body data"));
561 stream_->OnStreamFrame(frame2); 561 stream_->OnStreamFrame(frame2);
562 } 562 }
563 563
564 } // namespace 564 } // namespace
565 } // namespace test 565 } // namespace test
566 } // namespace net 566 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_server_stream.cc ('k') | net/quic/quic_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698