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

Side by Side Diff: net/tools/quic/end_to_end_test.cc

Issue 82913011: LOG(INFO) tidying in net/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert dns_fuzz_stub changes Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « net/tools/net_watcher/net_watcher.cc ('k') | net/tools/quic/quic_client.cc » ('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 <stddef.h> 5 #include <stddef.h>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 net::IPAddressNumber ip; 150 net::IPAddressNumber ip;
151 CHECK(net::ParseIPLiteralToNumber("127.0.0.1", &ip)); 151 CHECK(net::ParseIPLiteralToNumber("127.0.0.1", &ip));
152 server_address_ = IPEndPoint(ip, 0); 152 server_address_ = IPEndPoint(ip, 0);
153 153
154 client_supported_versions_ = GetParam().client_supported_versions; 154 client_supported_versions_ = GetParam().client_supported_versions;
155 server_supported_versions_ = GetParam().server_supported_versions; 155 server_supported_versions_ = GetParam().server_supported_versions;
156 negotiated_version_ = GetParam().negotiated_version; 156 negotiated_version_ = GetParam().negotiated_version;
157 FLAGS_limit_rto_increase_for_tests = true; 157 FLAGS_limit_rto_increase_for_tests = true;
158 FLAGS_pad_quic_handshake_packets = GetParam().use_padding; 158 FLAGS_pad_quic_handshake_packets = GetParam().use_padding;
159 FLAGS_enable_quic_pacing = GetParam().use_pacing; 159 FLAGS_enable_quic_pacing = GetParam().use_pacing;
160 LOG(INFO) << "Using Configuration: " << GetParam(); 160 VLOG(0) << "Using Configuration: " << GetParam();
161 161
162 client_config_.SetDefaults(); 162 client_config_.SetDefaults();
163 server_config_.SetDefaults(); 163 server_config_.SetDefaults();
164 server_config_.set_initial_round_trip_time_us(kMaxInitialRoundTripTimeUs, 164 server_config_.set_initial_round_trip_time_us(kMaxInitialRoundTripTimeUs,
165 0); 165 0);
166 166
167 QuicInMemoryCachePeer::ResetForTests(); 167 QuicInMemoryCachePeer::ResetForTests();
168 AddToCache("GET", "https://www.google.com/foo", 168 AddToCache("GET", "https://www.google.com/foo",
169 "HTTP/1.1", "200", "OK", kFooResponseBody); 169 "HTTP/1.1", "200", "OK", kFooResponseBody);
170 AddToCache("GET", "https://www.google.com/bar", 170 AddToCache("GET", "https://www.google.com/bar",
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 client_->SendSynchronousRequest("/bar"); 842 client_->SendSynchronousRequest("/bar");
843 843
844 EXPECT_EQ(QUIC_STREAM_CONNECTION_ERROR, client_->stream_error()); 844 EXPECT_EQ(QUIC_STREAM_CONNECTION_ERROR, client_->stream_error());
845 EXPECT_EQ(QUIC_ERROR_MIGRATING_ADDRESS, client_->connection_error()); 845 EXPECT_EQ(QUIC_ERROR_MIGRATING_ADDRESS, client_->connection_error());
846 } 846 }
847 847
848 } // namespace 848 } // namespace
849 } // namespace test 849 } // namespace test
850 } // namespace tools 850 } // namespace tools
851 } // namespace net 851 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/net_watcher/net_watcher.cc ('k') | net/tools/quic/quic_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698