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

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

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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_pool.h ('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 "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "net/base/cert_test_util.h"
10 #include "net/base/host_cache.h" 9 #include "net/base/host_cache.h"
11 #include "net/base/io_buffer.h" 10 #include "net/base/io_buffer.h"
12 #include "net/base/ip_endpoint.h" 11 #include "net/base/ip_endpoint.h"
13 #include "net/base/net_log_unittest.h" 12 #include "net/base/net_log_unittest.h"
14 #include "net/base/request_priority.h" 13 #include "net/base/request_priority.h"
15 #include "net/base/test_data_directory.h" 14 #include "net/base/test_data_directory.h"
16 #include "net/base/test_data_stream.h" 15 #include "net/base/test_data_stream.h"
17 #include "net/spdy/spdy_io_buffer.h" 16 #include "net/spdy/spdy_io_buffer.h"
18 #include "net/spdy/spdy_session_pool.h" 17 #include "net/spdy/spdy_session_pool.h"
19 #include "net/spdy/spdy_session_test_util.h" 18 #include "net/spdy/spdy_session_test_util.h"
20 #include "net/spdy/spdy_stream.h" 19 #include "net/spdy/spdy_stream.h"
21 #include "net/spdy/spdy_stream_test_util.h" 20 #include "net/spdy/spdy_stream_test_util.h"
22 #include "net/spdy/spdy_test_util_common.h" 21 #include "net/spdy/spdy_test_util_common.h"
23 #include "net/spdy/spdy_test_util_spdy2.h" 22 #include "net/spdy/spdy_test_util_spdy2.h"
23 #include "net/test/cert_test_util.h"
24 #include "testing/platform_test.h" 24 #include "testing/platform_test.h"
25 25
26 using namespace net::test_spdy2; 26 using namespace net::test_spdy2;
27 27
28 namespace net { 28 namespace net {
29 29
30 namespace { 30 namespace {
31 31
32 static const char kTestUrl[] = "http://www.example.org/"; 32 static const char kTestUrl[] = "http://www.example.org/";
33 static const char kTestHost[] = "www.example.org"; 33 static const char kTestHost[] = "www.example.org";
(...skipping 1947 matching lines...) Expand 10 before | Expand all | Expand 10 after
1981 http_session_.get(), session.get(), test_host_port_pair_); 1981 http_session_.get(), session.get(), test_host_port_pair_);
1982 1982
1983 EXPECT_EQ(SpdySession::FLOW_CONTROL_NONE, session->flow_control_state()); 1983 EXPECT_EQ(SpdySession::FLOW_CONTROL_NONE, session->flow_control_state());
1984 EXPECT_EQ(kSpdyVersion2, session->buffered_spdy_framer_->protocol_version()); 1984 EXPECT_EQ(kSpdyVersion2, session->buffered_spdy_framer_->protocol_version());
1985 EXPECT_EQ(0, session->session_send_window_size_); 1985 EXPECT_EQ(0, session->session_send_window_size_);
1986 EXPECT_EQ(0, session->session_recv_window_size_); 1986 EXPECT_EQ(0, session->session_recv_window_size_);
1987 EXPECT_EQ(0, session->session_unacked_recv_window_bytes_); 1987 EXPECT_EQ(0, session->session_unacked_recv_window_bytes_);
1988 } 1988 }
1989 1989
1990 } // namespace net 1990 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_session_pool.h ('k') | net/spdy/spdy_session_spdy3_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698