OLD | NEW |
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/quic/quic_stream_factory.h" | 5 #include "net/quic/quic_stream_factory.h" |
6 | 6 |
7 #include <ostream> | 7 #include <ostream> |
8 | 8 |
9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "base/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
12 #include "net/base/test_data_directory.h" | 12 #include "net/base/test_data_directory.h" |
13 #include "net/cert/cert_verifier.h" | 13 #include "net/cert/cert_verifier.h" |
14 #include "net/cert/multi_log_ct_verifier.h" | 14 #include "net/cert/multi_log_ct_verifier.h" |
15 #include "net/dns/mock_host_resolver.h" | 15 #include "net/dns/mock_host_resolver.h" |
16 #include "net/http/http_response_headers.h" | 16 #include "net/http/http_response_headers.h" |
17 #include "net/http/http_response_info.h" | 17 #include "net/http/http_response_info.h" |
18 #include "net/http/http_server_properties_impl.h" | 18 #include "net/http/http_server_properties_impl.h" |
19 #include "net/http/http_util.h" | 19 #include "net/http/http_util.h" |
20 #include "net/http/transport_security_state.h" | 20 #include "net/http/transport_security_state.h" |
21 #include "net/quic/crypto/crypto_handshake.h" | 21 #include "net/quic/crypto/crypto_handshake.h" |
(...skipping 4304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4326 EXPECT_NE(session1, session2); | 4326 EXPECT_NE(session1, session2); |
4327 | 4327 |
4328 EXPECT_EQ(QuicServerId(origin1_, privacy_mode_), session1->server_id()); | 4328 EXPECT_EQ(QuicServerId(origin1_, privacy_mode_), session1->server_id()); |
4329 EXPECT_EQ(QuicServerId(origin2_, privacy_mode_), session2->server_id()); | 4329 EXPECT_EQ(QuicServerId(origin2_, privacy_mode_), session2->server_id()); |
4330 | 4330 |
4331 EXPECT_TRUE(AllDataConsumed()); | 4331 EXPECT_TRUE(AllDataConsumed()); |
4332 } | 4332 } |
4333 | 4333 |
4334 } // namespace test | 4334 } // namespace test |
4335 } // namespace net | 4335 } // namespace net |
OLD | NEW |