Index: net/http/http_chunked_decoder.h |
diff --git a/net/http/http_chunked_decoder.h b/net/http/http_chunked_decoder.h |
index 87412deb102e9082f93cddf5633946485e1cca10..2ff55f9829115858ff66222326603165f420c0f0 100644 |
--- a/net/http/http_chunked_decoder.h |
+++ b/net/http/http_chunked_decoder.h |
@@ -46,6 +46,7 @@ |
#define NET_HTTP_HTTP_CHUNKED_DECODER_H_ |
#include <stddef.h> |
+#include <stdint.h> |
#include <string> |
@@ -107,10 +108,10 @@ class NET_EXPORT_PRIVATE HttpChunkedDecoder { |
// Converts string |start| of length |len| to a numeric value. |
// |start| is a string of type "chunk-size" (hex string). |
// If the conversion succeeds, returns true and places the result in |out|. |
- static bool ParseChunkSize(const char* start, int len, int* out); |
+ static bool ParseChunkSize(const char* start, int len, int64_t* out); |
// Indicates the number of bytes remaining for the current chunk. |
- int chunk_remaining_; |
+ int64_t chunk_remaining_; |
// A small buffer used to store a partial chunk marker. |
std::string line_buf_; |