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

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

Issue 183683025: CL generated with data from dead-code analysis using Scythe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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_framer.h ('k') | net/quic/quic_sent_packet_manager.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 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_headers_stream.h" 5 #include "net/quic/quic_headers_stream.h"
6 6
7 #include "net/quic/quic_utils.h" 7 #include "net/quic/quic_utils.h"
8 #include "net/quic/spdy_utils.h" 8 #include "net/quic/spdy_utils.h"
9 #include "net/quic/test_tools/quic_connection_peer.h" 9 #include "net/quic/test_tools/quic_connection_peer.h"
10 #include "net/quic/test_tools/quic_session_peer.h" 10 #include "net/quic/test_tools/quic_session_peer.h"
11 #include "net/quic/test_tools/quic_test_utils.h" 11 #include "net/quic/test_tools/quic_test_utils.h"
12 #include "net/spdy/spdy_protocol.h" 12 #include "net/spdy/spdy_protocol.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 using base::StringPiece; 15 using base::StringPiece;
16 using std::string; 16 using std::string;
17 using testing::Invoke; 17 using testing::Invoke;
18 using testing::Return;
19 using testing::StrictMock; 18 using testing::StrictMock;
20 using testing::WithArgs; 19 using testing::WithArgs;
21 using testing::_; 20 using testing::_;
22 21
23 namespace net { 22 namespace net {
24 namespace test { 23 namespace test {
25 namespace { 24 namespace {
26 25
27 class MockVisitor : public SpdyFramerVisitorInterface { 26 class MockVisitor : public SpdyFramerVisitorInterface {
28 public: 27 public:
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 QUIC_INVALID_HEADERS_STREAM_DATA, 311 QUIC_INVALID_HEADERS_STREAM_DATA,
313 "SPDY WINDOW_UPDATE frame received.")) 312 "SPDY WINDOW_UPDATE frame received."))
314 .WillOnce(InvokeWithoutArgs(this, 313 .WillOnce(InvokeWithoutArgs(this,
315 &QuicHeadersStreamTest::CloseConnection)); 314 &QuicHeadersStreamTest::CloseConnection));
316 headers_stream_->ProcessRawData(frame->data(), frame->size()); 315 headers_stream_->ProcessRawData(frame->data(), frame->size());
317 } 316 }
318 317
319 } // namespace 318 } // namespace
320 } // namespace test 319 } // namespace test
321 } // namespace net 320 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_framer.h ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698