Index: net/http/partial_data.h |
diff --git a/net/http/partial_data.h b/net/http/partial_data.h |
index 649d4623e0120bea74d6701567723d64b25bf1c6..3073bbfac88dd706cebb115444c0cacdeb31ffbd 100644 |
--- a/net/http/partial_data.h |
+++ b/net/http/partial_data.h |
@@ -120,8 +120,12 @@ class PartialData { |
bool initial_validation() const { return initial_validation_; } |
private: |
+ // Returned by GetNextRangeLen() to indicate that the next range extends to |
+ // EOF. |
+ static const int64 kUnbounded; |
rvargas (doing something else)
2015/07/27 22:25:12
does this has to be part of the header? (as oppose
asanka
2015/08/18 22:46:59
Moved to anon namespace.
|
+ |
// Returns the length to use when scanning the cache. |
- int GetNextRangeLen(); |
+ int64 GetNextRangeLen(); |
// Completion routine for our callback. |
void GetAvailableRangeCompleted(int64* start, int result); |
@@ -130,7 +134,7 @@ class PartialData { |
int64 current_range_end_; |
int64 cached_start_; |
int64 resource_size_; |
- int cached_min_len_; |
+ int64 cached_min_len_; |
HttpByteRange byte_range_; // The range requested by the user. |
// The clean set of extra headers (no ranges). |
HttpRequestHeaders extra_headers_; |