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

Side by Side Diff: net/quic/chromium/quic_stream_factory_test.cc

Issue 2811183003: Change Cronet's "disable_ipv6" to "disable_ipv6_on_wifi" (Closed)
Patch Set: more comments Created 3 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
« no previous file with comments | « net/quic/chromium/quic_network_transaction_unittest.cc ('k') | no next file » | 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/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
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "net/base/mock_network_change_notifier.h"
16 #include "net/base/test_proxy_delegate.h" 17 #include "net/base/test_proxy_delegate.h"
17 #include "net/cert/cert_verifier.h" 18 #include "net/cert/cert_verifier.h"
18 #include "net/cert/ct_policy_enforcer.h" 19 #include "net/cert/ct_policy_enforcer.h"
19 #include "net/cert/multi_log_ct_verifier.h" 20 #include "net/cert/multi_log_ct_verifier.h"
20 #include "net/dns/mock_host_resolver.h" 21 #include "net/dns/mock_host_resolver.h"
21 #include "net/http/http_response_headers.h" 22 #include "net/http/http_response_headers.h"
22 #include "net/http/http_response_info.h" 23 #include "net/http/http_response_info.h"
23 #include "net/http/http_server_properties_impl.h" 24 #include "net/http/http_server_properties_impl.h"
24 #include "net/http/http_util.h" 25 #include "net/http/http_util.h"
25 #include "net/http/transport_security_state.h" 26 #include "net/http/transport_security_state.h"
26 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" 27 #include "net/quic/chromium/crypto/proof_verifier_chromium.h"
27 #include "net/quic/chromium/mock_crypto_client_stream_factory.h" 28 #include "net/quic/chromium/mock_crypto_client_stream_factory.h"
28 #include "net/quic/chromium/mock_network_change_notifier.h"
29 #include "net/quic/chromium/mock_quic_data.h" 29 #include "net/quic/chromium/mock_quic_data.h"
30 #include "net/quic/chromium/properties_based_quic_server_info.h" 30 #include "net/quic/chromium/properties_based_quic_server_info.h"
31 #include "net/quic/chromium/quic_http_utils.h" 31 #include "net/quic/chromium/quic_http_utils.h"
32 #include "net/quic/chromium/quic_server_info.h" 32 #include "net/quic/chromium/quic_server_info.h"
33 #include "net/quic/chromium/quic_stream_factory_peer.h" 33 #include "net/quic/chromium/quic_stream_factory_peer.h"
34 #include "net/quic/chromium/quic_test_packet_maker.h" 34 #include "net/quic/chromium/quic_test_packet_maker.h"
35 #include "net/quic/chromium/test_task_runner.h" 35 #include "net/quic/chromium/test_task_runner.h"
36 #include "net/quic/core/crypto/crypto_handshake.h" 36 #include "net/quic/core/crypto/crypto_handshake.h"
37 #include "net/quic/core/crypto/quic_crypto_client_config.h" 37 #include "net/quic/core/crypto/quic_crypto_client_config.h"
38 #include "net/quic/core/crypto/quic_decrypter.h" 38 #include "net/quic/core/crypto/quic_decrypter.h"
(...skipping 5506 matching lines...) Expand 10 before | Expand all | Expand 10 after
5545 // Clear all cached states. 5545 // Clear all cached states.
5546 factory_->ClearCachedStatesInCryptoConfig( 5546 factory_->ClearCachedStatesInCryptoConfig(
5547 base::Callback<bool(const GURL&)>()); 5547 base::Callback<bool(const GURL&)>());
5548 EXPECT_TRUE(test_cases[0].state->certs().empty()); 5548 EXPECT_TRUE(test_cases[0].state->certs().empty());
5549 EXPECT_TRUE(test_cases[1].state->certs().empty()); 5549 EXPECT_TRUE(test_cases[1].state->certs().empty());
5550 EXPECT_TRUE(test_cases[2].state->certs().empty()); 5550 EXPECT_TRUE(test_cases[2].state->certs().empty());
5551 } 5551 }
5552 5552
5553 } // namespace test 5553 } // namespace test
5554 } // namespace net 5554 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_network_transaction_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698