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

Unified Diff: media/formats/webm/webm_info_parser.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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: media/formats/webm/webm_info_parser.h
diff --git a/media/formats/webm/webm_info_parser.h b/media/formats/webm/webm_info_parser.h
index 44ef6b207432b88ee898348051ab52d3093e2626..bec5cd2333ea4607efe430a25de5da6abea82a9e 100644
--- a/media/formats/webm/webm_info_parser.h
+++ b/media/formats/webm/webm_info_parser.h
@@ -23,9 +23,9 @@ class MEDIA_EXPORT WebMInfoParser : public WebMParserClient {
// Returns -1 if the parse fails.
// Returns 0 if more data is needed.
// Returns the number of bytes parsed on success.
- int Parse(const uint8* buf, int size);
+ int Parse(const uint8_t* buf, int size);
- int64 timecode_scale() const { return timecode_scale_; }
+ int64_t timecode_scale() const { return timecode_scale_; }
double duration() const { return duration_; }
base::Time date_utc() const { return date_utc_; }
@@ -33,12 +33,12 @@ class MEDIA_EXPORT WebMInfoParser : public WebMParserClient {
// WebMParserClient methods
WebMParserClient* OnListStart(int id) override;
bool OnListEnd(int id) override;
- bool OnUInt(int id, int64 val) override;
+ bool OnUInt(int id, int64_t val) override;
bool OnFloat(int id, double val) override;
- bool OnBinary(int id, const uint8* data, int size) override;
+ bool OnBinary(int id, const uint8_t* data, int size) override;
bool OnString(int id, const std::string& str) override;
- int64 timecode_scale_;
+ int64_t timecode_scale_;
double duration_;
base::Time date_utc_;

Powered by Google App Engine
This is Rietveld 408576698