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

Unified Diff: net/http/partial_data.h

Issue 1499423004: Remove kint32max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kint9
Patch Set: rebase Created 5 years 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
« no previous file with comments | « net/http/mock_http_cache.cc ('k') | net/http/partial_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/partial_data.h
diff --git a/net/http/partial_data.h b/net/http/partial_data.h
index 649d4623e0120bea74d6701567723d64b25bf1c6..29ccbb3c4a9dea3025c1b8a6932ef56e19fc4e4e 100644
--- a/net/http/partial_data.h
+++ b/net/http/partial_data.h
@@ -5,7 +5,9 @@
#ifndef NET_HTTP_PARTIAL_DATA_H_
#define NET_HTTP_PARTIAL_DATA_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "net/base/completion_callback.h"
#include "net/http/http_byte_range.h"
@@ -124,12 +126,12 @@ class PartialData {
int GetNextRangeLen();
// Completion routine for our callback.
- void GetAvailableRangeCompleted(int64* start, int result);
+ void GetAvailableRangeCompleted(int64_t* start, int result);
- int64 current_range_start_;
- int64 current_range_end_;
- int64 cached_start_;
- int64 resource_size_;
+ int64_t current_range_start_;
+ int64_t current_range_end_;
+ int64_t cached_start_;
+ int64_t resource_size_;
int cached_min_len_;
HttpByteRange byte_range_; // The range requested by the user.
// The clean set of extra headers (no ranges).
« no previous file with comments | « net/http/mock_http_cache.cc ('k') | net/http/partial_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698