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

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

Issue 2566783002: Various formatting cleanups to net/quic/crypto and net/quic/congestion_control (Closed)
Patch Set: Rebase Created 3 years, 12 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_stream_factory.cc ('k') | net/quic/core/crypto/aead_base_decrypter.h » ('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/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 10 matching lines...) Expand all
21 #include "net/dns/mock_host_resolver.h" 21 #include "net/dns/mock_host_resolver.h"
22 #include "net/http/http_response_headers.h" 22 #include "net/http/http_response_headers.h"
23 #include "net/http/http_response_info.h" 23 #include "net/http/http_response_info.h"
24 #include "net/http/http_server_properties_impl.h" 24 #include "net/http/http_server_properties_impl.h"
25 #include "net/http/http_util.h" 25 #include "net/http/http_util.h"
26 #include "net/http/transport_security_state.h" 26 #include "net/http/transport_security_state.h"
27 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" 27 #include "net/quic/chromium/crypto/proof_verifier_chromium.h"
28 #include "net/quic/chromium/mock_crypto_client_stream_factory.h" 28 #include "net/quic/chromium/mock_crypto_client_stream_factory.h"
29 #include "net/quic/chromium/mock_network_change_notifier.h" 29 #include "net/quic/chromium/mock_network_change_notifier.h"
30 #include "net/quic/chromium/mock_quic_data.h" 30 #include "net/quic/chromium/mock_quic_data.h"
31 #include "net/quic/chromium/properties_based_quic_server_info.h"
31 #include "net/quic/chromium/quic_http_utils.h" 32 #include "net/quic/chromium/quic_http_utils.h"
33 #include "net/quic/chromium/quic_server_info.h"
32 #include "net/quic/chromium/quic_test_packet_maker.h" 34 #include "net/quic/chromium/quic_test_packet_maker.h"
33 #include "net/quic/core/crypto/crypto_handshake.h" 35 #include "net/quic/core/crypto/crypto_handshake.h"
34 #include "net/quic/core/crypto/properties_based_quic_server_info.h"
35 #include "net/quic/core/crypto/quic_crypto_client_config.h" 36 #include "net/quic/core/crypto/quic_crypto_client_config.h"
36 #include "net/quic/core/crypto/quic_decrypter.h" 37 #include "net/quic/core/crypto/quic_decrypter.h"
37 #include "net/quic/core/crypto/quic_encrypter.h" 38 #include "net/quic/core/crypto/quic_encrypter.h"
38 #include "net/quic/core/crypto/quic_server_info.h"
39 #include "net/quic/core/quic_client_promised_info.h" 39 #include "net/quic/core/quic_client_promised_info.h"
40 #include "net/quic/test_tools/mock_clock.h" 40 #include "net/quic/test_tools/mock_clock.h"
41 #include "net/quic/test_tools/mock_random.h" 41 #include "net/quic/test_tools/mock_random.h"
42 #include "net/quic/test_tools/quic_config_peer.h" 42 #include "net/quic/test_tools/quic_config_peer.h"
43 #include "net/quic/test_tools/quic_stream_factory_peer.h" 43 #include "net/quic/test_tools/quic_stream_factory_peer.h"
44 #include "net/quic/test_tools/quic_test_utils.h" 44 #include "net/quic/test_tools/quic_test_utils.h"
45 #include "net/quic/test_tools/test_task_runner.h" 45 #include "net/quic/test_tools/test_task_runner.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/spdy_session_test_util.h"
(...skipping 5506 matching lines...) Expand 10 before | Expand all | Expand 10 after
5555 // Clear all cached states. 5555 // Clear all cached states.
5556 factory_->ClearCachedStatesInCryptoConfig( 5556 factory_->ClearCachedStatesInCryptoConfig(
5557 base::Callback<bool(const GURL&)>()); 5557 base::Callback<bool(const GURL&)>());
5558 EXPECT_TRUE(test_cases[0].state->certs().empty()); 5558 EXPECT_TRUE(test_cases[0].state->certs().empty());
5559 EXPECT_TRUE(test_cases[1].state->certs().empty()); 5559 EXPECT_TRUE(test_cases[1].state->certs().empty());
5560 EXPECT_TRUE(test_cases[2].state->certs().empty()); 5560 EXPECT_TRUE(test_cases[2].state->certs().empty());
5561 } 5561 }
5562 5562
5563 } // namespace test 5563 } // namespace test
5564 } // namespace net 5564 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_stream_factory.cc ('k') | net/quic/core/crypto/aead_base_decrypter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698