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

Unified Diff: net/http/http_stream_parser.cc

Issue 7605019: Reduce number of unnamed-type-template-args violations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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: net/http/http_stream_parser.cc
===================================================================
--- net/http/http_stream_parser.cc (revision 98480)
+++ net/http/http_stream_parser.cc (working copy)
@@ -39,6 +39,12 @@
namespace net {
+// static
+const int HttpStreamParser::kHeaderBufInitialSize = 4 * 1024; // 4K
+const int HttpStreamParser::kMaxHeaderBufSize =
+ HttpStreamParser::kHeaderBufInitialSize * 64; // 256K
+const int HttpStreamParser::kMaxBufSize = 2 * 1024 * 1024; // 2M
+
HttpStreamParser::HttpStreamParser(ClientSocketHandle* connection,
const HttpRequestInfo* request,
GrowableIOBuffer* read_buffer,

Powered by Google App Engine
This is Rietveld 408576698