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

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

Issue 2536033004: Remove uses of gfe2::test::GenerateBody from QUIC code and use the string fill constructor instead. (Closed)
Patch Set: Created 4 years, 1 month 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/quic/end_to_end_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_simple_server_session_test.cc
diff --git a/net/tools/quic/quic_simple_server_session_test.cc b/net/tools/quic/quic_simple_server_session_test.cc
index 13409e47e8f0a5240da188b36d8f69c3a5a1911c..7a9e1e4e22ac7d5b1c6ff4d9483e49d4e039d604 100644
--- a/net/tools/quic/quic_simple_server_session_test.cc
+++ b/net/tools/quic/quic_simple_server_session_test.cc
@@ -476,8 +476,7 @@ class QuicSimpleServerSessionServerPushTest
string path = partial_push_resource_path + base::UintToString(i);
string url = scheme + "://" + resource_host + path;
GURL resource_url = GURL(url);
- string body;
- GenerateBody(&body, body_size);
+ string body(body_size, 'a');
in_memory_cache_.AddSimpleResponse(resource_host, path, 200, body);
push_resources.push_back(QuicInMemoryCache::ServerPushInfo(
resource_url, SpdyHeaderBlock(), kDefaultPriority, body));
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698