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

Unified Diff: net/base/upload_progress.h

Issue 1158923005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments. Exclude mime_sniffer*. Rebase. Created 5 years, 7 months 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: net/base/upload_progress.h
diff --git a/net/base/upload_progress.h b/net/base/upload_progress.h
index 0620009085dab830454283d22b884e5ed720c46e..1389ecc2ad757d0a18d4039d64e415311432e002 100644
--- a/net/base/upload_progress.h
+++ b/net/base/upload_progress.h
@@ -12,15 +12,15 @@ namespace net {
class UploadProgress {
public:
UploadProgress() : size_(0), position_(0) {}
- UploadProgress(uint64 position, uint64 size)
+ UploadProgress(uint64_t position, uint64_t size)
: size_(size), position_(position) {}
- uint64 size() const { return size_; }
- uint64 position() const { return position_; }
+ uint64_t size() const { return size_; }
+ uint64_t position() const { return position_; }
private:
- uint64 size_;
- uint64 position_;
+ uint64_t size_;
+ uint64_t position_;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698