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

Unified Diff: components/cronet/ios/test/test_server.h

Issue 2776583004: Use 64kb read buffer in CRNHttpProtocolHandler on iOS. (Closed)
Patch Set: Address Andrei's comments, use RawHttpResponse. Created 3 years, 8 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
Index: components/cronet/ios/test/test_server.h
diff --git a/components/cronet/ios/test/test_server.h b/components/cronet/ios/test/test_server.h
index 4804f24cbf5b5586f70a9d6e304c8d230d78a633..380b92707cecf3af9a004585488a9204c1100d45 100644
--- a/components/cronet/ios/test/test_server.h
+++ b/components/cronet/ios/test/test_server.h
@@ -20,6 +20,9 @@ class TestServer {
// Returns URL which respond with setting cookie to |cookie_line| and echo it
// in response body.
static std::string GetSetCookieURL(const std::string& cookie_line);
+ // Prepares response and returns URL which respond with |data_size| of bytes
+ // in response body.
+ static std::string PrepareBigDataURL(long data_size);
};
} // namespace cronet

Powered by Google App Engine
This is Rietveld 408576698