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

Unified Diff: components/cronet/android/cronet_upload_data_stream.h

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: components/cronet/android/cronet_upload_data_stream.h
diff --git a/components/cronet/android/cronet_upload_data_stream.h b/components/cronet/android/cronet_upload_data_stream.h
index b2ff6df2c1c79508b2bf6dd98b51b2c9b5e76a76..c8d5f29715282fbba8d0bd4f027483048d611768 100644
--- a/components/cronet/android/cronet_upload_data_stream.h
+++ b/components/cronet/android/cronet_upload_data_stream.h
@@ -5,7 +5,8 @@
#ifndef COMPONENTS_CRONET_ANDROID_CRONET_UPLOAD_DATA_STREAM_H_
#define COMPONENTS_CRONET_ANDROID_CRONET_UPLOAD_DATA_STREAM_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -55,7 +56,7 @@ class CronetUploadDataStream : public net::UploadDataStream {
DISALLOW_COPY_AND_ASSIGN(Delegate);
};
- CronetUploadDataStream(Delegate* delegate, int64 size);
+ CronetUploadDataStream(Delegate* delegate, int64_t size);
~CronetUploadDataStream() override;
// Failure is handled at the Java layer. These two success callbacks are
@@ -74,7 +75,7 @@ class CronetUploadDataStream : public net::UploadDataStream {
void StartRewind();
// Size of the upload. -1 if chunked.
- const int64 size_;
+ const int64_t size_;
// True if ReadInternal has been called, the read hasn't completed, and there
// hasn't been a ResetInternal call yet.
« no previous file with comments | « components/cronet/android/cronet_library_loader.cc ('k') | components/cronet/android/cronet_upload_data_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698