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

Side by Side Diff: net/spdy/spdy_session_spdy2_unittest.cc

Issue 13990005: [SPDY] Replace SpdyIOBuffer with new SpdyBuffer class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
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/spdy/spdy_session.h" 5 #include "net/spdy/spdy_session.h"
6 6
7 #include "net/base/ip_endpoint.h" 7 #include "net/base/ip_endpoint.h"
8 #include "net/base/net_log_unittest.h" 8 #include "net/base/net_log_unittest.h"
9 #include "net/base/request_priority.h" 9 #include "net/base/request_priority.h"
10 #include "net/base/test_data_directory.h" 10 #include "net/base/test_data_directory.h"
11 #include "net/dns/host_cache.h" 11 #include "net/dns/host_cache.h"
12 #include "net/spdy/spdy_io_buffer.h"
13 #include "net/spdy/spdy_session_pool.h" 12 #include "net/spdy/spdy_session_pool.h"
14 #include "net/spdy/spdy_stream.h" 13 #include "net/spdy/spdy_stream.h"
15 #include "net/spdy/spdy_stream_test_util.h" 14 #include "net/spdy/spdy_stream_test_util.h"
16 #include "net/spdy/spdy_test_util_common.h" 15 #include "net/spdy/spdy_test_util_common.h"
17 #include "net/spdy/spdy_test_util_spdy2.h" 16 #include "net/spdy/spdy_test_util_spdy2.h"
18 #include "net/test/cert_test_util.h" 17 #include "net/test/cert_test_util.h"
19 #include "testing/platform_test.h" 18 #include "testing/platform_test.h"
20 19
21 using namespace net::test_spdy2; 20 using namespace net::test_spdy2;
22 21
(...skipping 1550 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 http_session_.get(), session.get(), test_host_port_pair_); 1572 http_session_.get(), session.get(), test_host_port_pair_);
1574 1573
1575 EXPECT_EQ(SpdySession::FLOW_CONTROL_NONE, session->flow_control_state()); 1574 EXPECT_EQ(SpdySession::FLOW_CONTROL_NONE, session->flow_control_state());
1576 EXPECT_EQ(kSpdyVersion2, session->buffered_spdy_framer_->protocol_version()); 1575 EXPECT_EQ(kSpdyVersion2, session->buffered_spdy_framer_->protocol_version());
1577 EXPECT_EQ(0, session->session_send_window_size_); 1576 EXPECT_EQ(0, session->session_send_window_size_);
1578 EXPECT_EQ(0, session->session_recv_window_size_); 1577 EXPECT_EQ(0, session->session_recv_window_size_);
1579 EXPECT_EQ(0, session->session_unacked_recv_window_bytes_); 1578 EXPECT_EQ(0, session->session_unacked_recv_window_bytes_);
1580 } 1579 }
1581 1580
1582 } // namespace net 1581 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698