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

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: Fix missing include 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
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/spdy/spdy_session_spdy3_unittest.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 (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 "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "net/base/io_buffer.h" 8 #include "net/base/io_buffer.h"
9 #include "net/base/ip_endpoint.h" 9 #include "net/base/ip_endpoint.h"
10 #include "net/base/net_log_unittest.h" 10 #include "net/base/net_log_unittest.h"
11 #include "net/base/request_priority.h" 11 #include "net/base/request_priority.h"
12 #include "net/base/test_data_directory.h" 12 #include "net/base/test_data_directory.h"
13 #include "net/base/test_data_stream.h" 13 #include "net/base/test_data_stream.h"
14 #include "net/dns/host_cache.h" 14 #include "net/dns/host_cache.h"
15 #include "net/spdy/spdy_io_buffer.h"
16 #include "net/spdy/spdy_session_pool.h" 15 #include "net/spdy/spdy_session_pool.h"
17 #include "net/spdy/spdy_session_test_util.h" 16 #include "net/spdy/spdy_session_test_util.h"
18 #include "net/spdy/spdy_stream.h" 17 #include "net/spdy/spdy_stream.h"
19 #include "net/spdy/spdy_stream_test_util.h" 18 #include "net/spdy/spdy_stream_test_util.h"
20 #include "net/spdy/spdy_test_util_common.h" 19 #include "net/spdy/spdy_test_util_common.h"
21 #include "net/spdy/spdy_test_util_spdy2.h" 20 #include "net/spdy/spdy_test_util_spdy2.h"
22 #include "net/test/cert_test_util.h" 21 #include "net/test/cert_test_util.h"
23 #include "testing/platform_test.h" 22 #include "testing/platform_test.h"
24 23
25 using namespace net::test_spdy2; 24 using namespace net::test_spdy2;
(...skipping 1921 matching lines...) Expand 10 before | Expand all | Expand 10 after
1947 http_session_.get(), session.get(), test_host_port_pair_); 1946 http_session_.get(), session.get(), test_host_port_pair_);
1948 1947
1949 EXPECT_EQ(SpdySession::FLOW_CONTROL_NONE, session->flow_control_state()); 1948 EXPECT_EQ(SpdySession::FLOW_CONTROL_NONE, session->flow_control_state());
1950 EXPECT_EQ(kSpdyVersion2, session->buffered_spdy_framer_->protocol_version()); 1949 EXPECT_EQ(kSpdyVersion2, session->buffered_spdy_framer_->protocol_version());
1951 EXPECT_EQ(0, session->session_send_window_size_); 1950 EXPECT_EQ(0, session->session_send_window_size_);
1952 EXPECT_EQ(0, session->session_recv_window_size_); 1951 EXPECT_EQ(0, session->session_recv_window_size_);
1953 EXPECT_EQ(0, session->session_unacked_recv_window_bytes_); 1952 EXPECT_EQ(0, session->session_unacked_recv_window_bytes_);
1954 } 1953 }
1955 1954
1956 } // namespace net 1955 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/spdy/spdy_session_spdy3_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698