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

Unified Diff: net/tools/quic/end_to_end_test.cc

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/crash_cache/crash_cache.cc ('k') | net/tools/quic/spdy_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/end_to_end_test.cc
diff --git a/net/tools/quic/end_to_end_test.cc b/net/tools/quic/end_to_end_test.cc
index 1104528c49d376fbeb29957c78218ba554fe60ea..fa9a8e79b4a3cd59ffcf7e090440e7a3f3586095 100644
--- a/net/tools/quic/end_to_end_test.cc
+++ b/net/tools/quic/end_to_end_test.cc
@@ -70,8 +70,8 @@ namespace tools {
namespace test {
namespace {
-const char* kFooResponseBody = "Artichoke hearts make me happy.";
-const char* kBarResponseBody = "Palm hearts are pretty delicious, also.";
+const char kFooResponseBody[] = "Artichoke hearts make me happy.";
+const char kBarResponseBody[] = "Palm hearts are pretty delicious, also.";
// Run all tests with the cross products of all versions.
struct TestParams {
@@ -142,12 +142,9 @@ vector<TestParams> GetTestParams() {
use_fec != 0, congestion_control_tag));
// Test client supporting all versions and server supporting 1
- // version.
- // Simulate an old server and exercise version downgrade in the
- // client.
- // Protocol negotiation should occur. Skip the i = 0 case because it
- // is
- // essentially the same as the default case.
+ // version. Simulate an old server and exercise version downgrade in
+ // the client. Protocol negotiation should occur. Skip the i = 0 case
+ // because it is essentially the same as the default case.
for (QuicVersion version : *client_versions) {
QuicVersionVector server_supported_versions;
server_supported_versions.push_back(version);
« no previous file with comments | « net/tools/crash_cache/crash_cache.cc ('k') | net/tools/quic/spdy_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698