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

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

Issue 2776583004: Use 64kb read buffer in CRNHttpProtocolHandler on iOS. (Closed)
Patch Set: Self review and cleanup. 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..0fa6aa99f2be7e77243d0bb22c0a169b4ec6b473 100644
--- a/components/cronet/ios/test/test_server.h
+++ b/components/cronet/ios/test/test_server.h
@@ -20,6 +20,8 @@ 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);
+ // Returns URL which respond with |data_size| of bytes in response body.
+ static std::string GetBigDataURL(long data_size);
};
} // namespace cronet

Powered by Google App Engine
This is Rietveld 408576698