summaryrefslogtreecommitdiffstats
path: root/net/http/http_response_body_drainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_response_body_drainer.h')
-rw-r--r--net/http/http_response_body_drainer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_response_body_drainer.h b/net/http/http_response_body_drainer.h
index dbcdd99..16a4c88 100644
--- a/net/http/http_response_body_drainer.h
+++ b/net/http/http_response_body_drainer.h
@@ -23,8 +23,8 @@ class HttpResponseBodyDrainer {
// we want to throw away. The response body is typically a small page just a
// few hundred bytes long. We set a limit to prevent it from taking too long,
// since we may as well just create a new socket then.
- enum { kDrainBodyBufferSize = 16384 };
- enum { kTimeoutInSeconds = 5 };
+ static const int kDrainBodyBufferSize = 16384;
+ static const int kTimeoutInSeconds = 5;
explicit HttpResponseBodyDrainer(HttpStream* stream);