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

Side by Side Diff: net/quic/chromium/quic_chromium_client_session_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
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_chromium_client_session.h" 5 #include "net/quic/chromium/quic_chromium_client_session.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/rand_util.h" 10 #include "base/rand_util.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/test/histogram_tester.h" 12 #include "base/test/histogram_tester.h"
13 #include "base/threading/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "net/base/test_completion_callback.h" 14 #include "net/base/test_completion_callback.h"
15 #include "net/cert/cert_verify_result.h" 15 #include "net/cert/cert_verify_result.h"
16 #include "net/http/transport_security_state.h" 16 #include "net/http/transport_security_state.h"
17 #include "net/log/net_log_source.h" 17 #include "net/log/net_log_source.h"
18 #include "net/log/test_net_log.h" 18 #include "net/log/test_net_log.h"
19 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" 19 #include "net/quic/chromium/crypto/proof_verifier_chromium.h"
20 #include "net/quic/chromium/mock_crypto_client_stream_factory.h" 20 #include "net/quic/chromium/mock_crypto_client_stream_factory.h"
21 #include "net/quic/chromium/quic_chromium_alarm_factory.h" 21 #include "net/quic/chromium/quic_chromium_alarm_factory.h"
22 #include "net/quic/chromium/quic_chromium_client_session_peer.h" 22 #include "net/quic/chromium/quic_chromium_client_session_peer.h"
23 #include "net/quic/chromium/quic_chromium_connection_helper.h" 23 #include "net/quic/chromium/quic_chromium_connection_helper.h"
24 #include "net/quic/chromium/quic_chromium_packet_reader.h" 24 #include "net/quic/chromium/quic_chromium_packet_reader.h"
25 #include "net/quic/chromium/quic_chromium_packet_writer.h" 25 #include "net/quic/chromium/quic_chromium_packet_writer.h"
26 #include "net/quic/chromium/quic_crypto_client_stream_factory.h" 26 #include "net/quic/chromium/quic_crypto_client_stream_factory.h"
27 #include "net/quic/chromium/quic_http_utils.h" 27 #include "net/quic/chromium/quic_http_utils.h"
28 #include "net/quic/chromium/quic_server_info.h"
28 #include "net/quic/chromium/quic_test_packet_maker.h" 29 #include "net/quic/chromium/quic_test_packet_maker.h"
29 #include "net/quic/core/crypto/aes_128_gcm_12_encrypter.h" 30 #include "net/quic/core/crypto/aes_128_gcm_12_encrypter.h"
30 #include "net/quic/core/crypto/crypto_protocol.h" 31 #include "net/quic/core/crypto/crypto_protocol.h"
31 #include "net/quic/core/crypto/quic_decrypter.h" 32 #include "net/quic/core/crypto/quic_decrypter.h"
32 #include "net/quic/core/crypto/quic_encrypter.h" 33 #include "net/quic/core/crypto/quic_encrypter.h"
33 #include "net/quic/core/crypto/quic_server_info.h"
34 #include "net/quic/core/quic_client_promised_info.h" 34 #include "net/quic/core/quic_client_promised_info.h"
35 #include "net/quic/core/quic_flags.h" 35 #include "net/quic/core/quic_flags.h"
36 #include "net/quic/core/quic_packet_writer.h" 36 #include "net/quic/core/quic_packet_writer.h"
37 #include "net/quic/test_tools/crypto_test_utils.h" 37 #include "net/quic/test_tools/crypto_test_utils.h"
38 #include "net/quic/test_tools/quic_client_promised_info_peer.h" 38 #include "net/quic/test_tools/quic_client_promised_info_peer.h"
39 #include "net/quic/test_tools/quic_spdy_session_peer.h" 39 #include "net/quic/test_tools/quic_spdy_session_peer.h"
40 #include "net/quic/test_tools/quic_test_utils.h" 40 #include "net/quic/test_tools/quic_test_utils.h"
41 #include "net/quic/test_tools/simple_quic_framer.h" 41 #include "net/quic/test_tools/simple_quic_framer.h"
42 #include "net/socket/datagram_client_socket.h" 42 #include "net/socket/datagram_client_socket.h"
43 #include "net/socket/socket_test_util.h" 43 #include "net/socket/socket_test_util.h"
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 924
925 EXPECT_TRUE(socket_data_->AllReadDataConsumed()); 925 EXPECT_TRUE(socket_data_->AllReadDataConsumed());
926 EXPECT_TRUE(socket_data_->AllWriteDataConsumed()); 926 EXPECT_TRUE(socket_data_->AllWriteDataConsumed());
927 EXPECT_TRUE(new_socket_data.AllReadDataConsumed()); 927 EXPECT_TRUE(new_socket_data.AllReadDataConsumed());
928 EXPECT_TRUE(new_socket_data.AllWriteDataConsumed()); 928 EXPECT_TRUE(new_socket_data.AllWriteDataConsumed());
929 } 929 }
930 930
931 } // namespace 931 } // namespace
932 } // namespace test 932 } // namespace test
933 } // namespace net 933 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_chromium_client_session.cc ('k') | net/quic/chromium/quic_http_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698