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

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

Issue 2776583004: Use 64kb read buffer in CRNHttpProtocolHandler on iOS. (Closed)
Patch Set: Few more comments. 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
« no previous file with comments | « components/cronet/ios/test/start_cronet.mm ('k') | components/cronet/ios/test/test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a0b7b8a94967e34140440d6c72006cd3097231f1 100644
--- a/components/cronet/ios/test/test_server.h
+++ b/components/cronet/ios/test/test_server.h
@@ -20,6 +20,11 @@ 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);
+ // Releases response created by PrepareBigDataURL().
+ static void ReleaseBigDataURL();
};
} // namespace cronet
« no previous file with comments | « components/cronet/ios/test/start_cronet.mm ('k') | components/cronet/ios/test/test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698