| Index: components/cronet/android/wrapped_channel_upload_element_reader.cc
|
| diff --git a/components/cronet/android/wrapped_channel_upload_element_reader.cc b/components/cronet/android/wrapped_channel_upload_element_reader.cc
|
| index 750d382601bf25a3e09d5db2920febbb9245e69a..88dede7566ce1b22f71de6e0d9f18257ce6a2581 100644
|
| --- a/components/cronet/android/wrapped_channel_upload_element_reader.cc
|
| +++ b/components/cronet/android/wrapped_channel_upload_element_reader.cc
|
| @@ -13,9 +13,8 @@ namespace cronet {
|
|
|
| WrappedChannelElementReader::WrappedChannelElementReader(
|
| scoped_refptr<URLRequestAdapter::URLRequestAdapterDelegate> delegate,
|
| - uint64 length)
|
| - : length_(length), offset_(0), delegate_(delegate) {
|
| -}
|
| + uint64_t length)
|
| + : length_(length), offset_(0), delegate_(delegate) {}
|
|
|
| WrappedChannelElementReader::~WrappedChannelElementReader() {
|
| }
|
| @@ -26,11 +25,11 @@ int WrappedChannelElementReader::Init(const net::CompletionCallback& callback) {
|
| return net::OK;
|
| }
|
|
|
| -uint64 WrappedChannelElementReader::GetContentLength() const {
|
| +uint64_t WrappedChannelElementReader::GetContentLength() const {
|
| return length_;
|
| }
|
|
|
| -uint64 WrappedChannelElementReader::BytesRemaining() const {
|
| +uint64_t WrappedChannelElementReader::BytesRemaining() const {
|
| return length_ - offset_;
|
| }
|
|
|
|
|