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/chromium/quic_stream_factory.h" | 5 #include "net/quic/chromium/quic_stream_factory.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <ostream> | 8 #include <ostream> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 #include "net/quic/core/crypto/quic_crypto_client_config.h" | 38 #include "net/quic/core/crypto/quic_crypto_client_config.h" |
39 #include "net/quic/core/crypto/quic_decrypter.h" | 39 #include "net/quic/core/crypto/quic_decrypter.h" |
40 #include "net/quic/core/crypto/quic_encrypter.h" | 40 #include "net/quic/core/crypto/quic_encrypter.h" |
41 #include "net/quic/core/quic_client_promised_info.h" | 41 #include "net/quic/core/quic_client_promised_info.h" |
42 #include "net/quic/test_tools/mock_clock.h" | 42 #include "net/quic/test_tools/mock_clock.h" |
43 #include "net/quic/test_tools/mock_random.h" | 43 #include "net/quic/test_tools/mock_random.h" |
44 #include "net/quic/test_tools/quic_config_peer.h" | 44 #include "net/quic/test_tools/quic_config_peer.h" |
45 #include "net/quic/test_tools/quic_test_utils.h" | 45 #include "net/quic/test_tools/quic_test_utils.h" |
46 #include "net/socket/next_proto.h" | 46 #include "net/socket/next_proto.h" |
47 #include "net/socket/socket_test_util.h" | 47 #include "net/socket/socket_test_util.h" |
48 #include "net/spdy/spdy_session_test_util.h" | 48 #include "net/spdy/chromium/spdy_session_test_util.h" |
49 #include "net/spdy/spdy_test_utils.h" | 49 #include "net/spdy/core/spdy_test_utils.h" |
50 #include "net/ssl/channel_id_service.h" | 50 #include "net/ssl/channel_id_service.h" |
51 #include "net/ssl/default_channel_id_store.h" | 51 #include "net/ssl/default_channel_id_store.h" |
52 #include "net/test/cert_test_util.h" | 52 #include "net/test/cert_test_util.h" |
53 #include "net/test/gtest_util.h" | 53 #include "net/test/gtest_util.h" |
54 #include "net/test/test_data_directory.h" | 54 #include "net/test/test_data_directory.h" |
55 #include "testing/gmock/include/gmock/gmock.h" | 55 #include "testing/gmock/include/gmock/gmock.h" |
56 #include "testing/gtest/include/gtest/gtest.h" | 56 #include "testing/gtest/include/gtest/gtest.h" |
57 #include "url/gurl.h" | 57 #include "url/gurl.h" |
58 | 58 |
59 using std::string; | 59 using std::string; |
(...skipping 5150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5210 // Clear all cached states. | 5210 // Clear all cached states. |
5211 factory_->ClearCachedStatesInCryptoConfig( | 5211 factory_->ClearCachedStatesInCryptoConfig( |
5212 base::Callback<bool(const GURL&)>()); | 5212 base::Callback<bool(const GURL&)>()); |
5213 EXPECT_TRUE(test_cases[0].state->certs().empty()); | 5213 EXPECT_TRUE(test_cases[0].state->certs().empty()); |
5214 EXPECT_TRUE(test_cases[1].state->certs().empty()); | 5214 EXPECT_TRUE(test_cases[1].state->certs().empty()); |
5215 EXPECT_TRUE(test_cases[2].state->certs().empty()); | 5215 EXPECT_TRUE(test_cases[2].state->certs().empty()); |
5216 } | 5216 } |
5217 | 5217 |
5218 } // namespace test | 5218 } // namespace test |
5219 } // namespace net | 5219 } // namespace net |
OLD | NEW |