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

Side by Side Diff: net/quic/chromium/quic_http_stream_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_http_stream.h" 5 #include "net/quic/chromium/quic_http_stream.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
(...skipping 15 matching lines...) Expand all
26 #include "net/log/net_log_event_type.h" 26 #include "net/log/net_log_event_type.h"
27 #include "net/log/test_net_log.h" 27 #include "net/log/test_net_log.h"
28 #include "net/log/test_net_log_util.h" 28 #include "net/log/test_net_log_util.h"
29 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" 29 #include "net/quic/chromium/crypto/proof_verifier_chromium.h"
30 #include "net/quic/chromium/mock_crypto_client_stream_factory.h" 30 #include "net/quic/chromium/mock_crypto_client_stream_factory.h"
31 #include "net/quic/chromium/quic_chromium_alarm_factory.h" 31 #include "net/quic/chromium/quic_chromium_alarm_factory.h"
32 #include "net/quic/chromium/quic_chromium_connection_helper.h" 32 #include "net/quic/chromium/quic_chromium_connection_helper.h"
33 #include "net/quic/chromium/quic_chromium_packet_reader.h" 33 #include "net/quic/chromium/quic_chromium_packet_reader.h"
34 #include "net/quic/chromium/quic_chromium_packet_writer.h" 34 #include "net/quic/chromium/quic_chromium_packet_writer.h"
35 #include "net/quic/chromium/quic_http_utils.h" 35 #include "net/quic/chromium/quic_http_utils.h"
36 #include "net/quic/chromium/quic_server_info.h"
36 #include "net/quic/chromium/quic_test_packet_maker.h" 37 #include "net/quic/chromium/quic_test_packet_maker.h"
37 #include "net/quic/core/congestion_control/send_algorithm_interface.h" 38 #include "net/quic/core/congestion_control/send_algorithm_interface.h"
38 #include "net/quic/core/crypto/crypto_protocol.h" 39 #include "net/quic/core/crypto/crypto_protocol.h"
39 #include "net/quic/core/crypto/quic_decrypter.h" 40 #include "net/quic/core/crypto/quic_decrypter.h"
40 #include "net/quic/core/crypto/quic_encrypter.h" 41 #include "net/quic/core/crypto/quic_encrypter.h"
41 #include "net/quic/core/crypto/quic_server_info.h"
42 #include "net/quic/core/quic_connection.h" 42 #include "net/quic/core/quic_connection.h"
43 #include "net/quic/core/quic_write_blocked_list.h" 43 #include "net/quic/core/quic_write_blocked_list.h"
44 #include "net/quic/core/spdy_utils.h" 44 #include "net/quic/core/spdy_utils.h"
45 #include "net/quic/test_tools/crypto_test_utils.h" 45 #include "net/quic/test_tools/crypto_test_utils.h"
46 #include "net/quic/test_tools/mock_clock.h" 46 #include "net/quic/test_tools/mock_clock.h"
47 #include "net/quic/test_tools/mock_random.h" 47 #include "net/quic/test_tools/mock_random.h"
48 #include "net/quic/test_tools/quic_connection_peer.h" 48 #include "net/quic/test_tools/quic_connection_peer.h"
49 #include "net/quic/test_tools/quic_test_utils.h" 49 #include "net/quic/test_tools/quic_test_utils.h"
50 #include "net/quic/test_tools/test_task_runner.h" 50 #include "net/quic/test_tools/test_task_runner.h"
51 #include "net/socket/socket_performance_watcher.h" 51 #include "net/socket/socket_performance_watcher.h"
(...skipping 2112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2164 EXPECT_TRUE(AtEof()); 2164 EXPECT_TRUE(AtEof());
2165 2165
2166 // QuicHttpStream::GetTotalSent/ReceivedBytes includes only headers. 2166 // QuicHttpStream::GetTotalSent/ReceivedBytes includes only headers.
2167 EXPECT_EQ(static_cast<int64_t>(spdy_request_headers_frame_length), 2167 EXPECT_EQ(static_cast<int64_t>(spdy_request_headers_frame_length),
2168 stream_->GetTotalSentBytes()); 2168 stream_->GetTotalSentBytes());
2169 EXPECT_EQ(0, stream_->GetTotalReceivedBytes()); 2169 EXPECT_EQ(0, stream_->GetTotalReceivedBytes());
2170 } 2170 }
2171 2171
2172 } // namespace test 2172 } // namespace test
2173 } // namespace net 2173 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_chromium_client_session_test.cc ('k') | net/quic/chromium/quic_server_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698