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

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

Issue 12680003: net: split net/ssl out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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/spdy/spdy_credential_state.cc ('k') | net/spdy/spdy_http_stream_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_http_stream.h" 5 #include "net/spdy/spdy_http_stream.h"
6 6
7 #include "crypto/ec_private_key.h" 7 #include "crypto/ec_private_key.h"
8 #include "crypto/ec_signature_creator.h" 8 #include "crypto/ec_signature_creator.h"
9 #include "crypto/signature_creator.h" 9 #include "crypto/signature_creator.h"
10 #include "net/base/asn1_util.h" 10 #include "net/base/asn1_util.h"
11 #include "net/base/capturing_net_log.h" 11 #include "net/base/capturing_net_log.h"
12 #include "net/base/default_server_bound_cert_store.h"
13 #include "net/base/load_timing_info.h" 12 #include "net/base/load_timing_info.h"
14 #include "net/base/load_timing_info_test_util.h" 13 #include "net/base/load_timing_info_test_util.h"
15 #include "net/base/upload_data_stream.h" 14 #include "net/base/upload_data_stream.h"
16 #include "net/base/upload_element_reader.h" 15 #include "net/base/upload_element_reader.h"
17 #include "net/http/http_request_info.h" 16 #include "net/http/http_request_info.h"
18 #include "net/http/http_response_headers.h" 17 #include "net/http/http_response_headers.h"
19 #include "net/http/http_response_info.h" 18 #include "net/http/http_response_info.h"
20 #include "net/spdy/spdy_session.h" 19 #include "net/spdy/spdy_session.h"
21 #include "net/spdy/spdy_test_util_spdy2.h" 20 #include "net/spdy/spdy_test_util_spdy2.h"
21 #include "net/ssl/default_server_bound_cert_store.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 23
24 using namespace net::test_spdy2; 24 using namespace net::test_spdy2;
25 25
26 namespace net { 26 namespace net {
27 27
28 namespace { 28 namespace {
29 29
30 // Tests the load timing of a stream that's connected and is not the first 30 // Tests the load timing of a stream that's connected and is not the first
31 // request sent on a connection. 31 // request sent on a connection.
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 // pool anymore. 510 // pool anymore.
511 EXPECT_FALSE(http_session_->spdy_session_pool()->HasSession(pair)); 511 EXPECT_FALSE(http_session_->spdy_session_pool()->HasSession(pair));
512 EXPECT_TRUE(data()->at_read_eof()); 512 EXPECT_TRUE(data()->at_read_eof());
513 EXPECT_TRUE(data()->at_write_eof()); 513 EXPECT_TRUE(data()->at_write_eof());
514 } 514 }
515 515
516 // TODO(willchan): Write a longer test for SpdyStream that exercises all 516 // TODO(willchan): Write a longer test for SpdyStream that exercises all
517 // methods. 517 // methods.
518 518
519 } // namespace net 519 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_credential_state.cc ('k') | net/spdy/spdy_http_stream_spdy3_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698