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 <ostream> | 7 #include <ostream> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 std::unique_ptr<ScopedMockNetworkChangeNotifier> | 540 std::unique_ptr<ScopedMockNetworkChangeNotifier> |
541 scoped_mock_network_change_notifier_; | 541 scoped_mock_network_change_notifier_; |
542 std::unique_ptr<QuicStreamFactory> factory_; | 542 std::unique_ptr<QuicStreamFactory> factory_; |
543 HostPortPair host_port_pair_; | 543 HostPortPair host_port_pair_; |
544 GURL url_; | 544 GURL url_; |
545 GURL url2_; | 545 GURL url2_; |
546 GURL url3_; | 546 GURL url3_; |
547 GURL url4_; | 547 GURL url4_; |
548 | 548 |
549 PrivacyMode privacy_mode_; | 549 PrivacyMode privacy_mode_; |
550 BoundNetLog net_log_; | 550 NetLogWithSource net_log_; |
551 TestCompletionCallback callback_; | 551 TestCompletionCallback callback_; |
552 | 552 |
553 // Variables to configure QuicStreamFactory. | 553 // Variables to configure QuicStreamFactory. |
554 bool enable_port_selection_; | 554 bool enable_port_selection_; |
555 bool always_require_handshake_confirmation_; | 555 bool always_require_handshake_confirmation_; |
556 bool disable_connection_pooling_; | 556 bool disable_connection_pooling_; |
557 double load_server_info_timeout_srtt_multiplier_; | 557 double load_server_info_timeout_srtt_multiplier_; |
558 bool enable_connection_racing_; | 558 bool enable_connection_racing_; |
559 bool enable_non_blocking_io_; | 559 bool enable_non_blocking_io_; |
560 bool disable_disk_cache_; | 560 bool disable_disk_cache_; |
(...skipping 4714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5275 // Clear all cached states. | 5275 // Clear all cached states. |
5276 factory_->ClearCachedStatesInCryptoConfig( | 5276 factory_->ClearCachedStatesInCryptoConfig( |
5277 base::Callback<bool(const GURL&)>()); | 5277 base::Callback<bool(const GURL&)>()); |
5278 EXPECT_TRUE(test_cases[0].state->certs().empty()); | 5278 EXPECT_TRUE(test_cases[0].state->certs().empty()); |
5279 EXPECT_TRUE(test_cases[1].state->certs().empty()); | 5279 EXPECT_TRUE(test_cases[1].state->certs().empty()); |
5280 EXPECT_TRUE(test_cases[2].state->certs().empty()); | 5280 EXPECT_TRUE(test_cases[2].state->certs().empty()); |
5281 } | 5281 } |
5282 | 5282 |
5283 } // namespace test | 5283 } // namespace test |
5284 } // namespace net | 5284 } // namespace net |
OLD | NEW |