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

Unified Diff: media/blink/buffered_data_source_host_impl.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/blink/buffered_data_source_host_impl.h
diff --git a/media/blink/buffered_data_source_host_impl.h b/media/blink/buffered_data_source_host_impl.h
index b028c0e457622582162db89a62fbb7d9f3aac6c6..cf61846f42977ca50fcaa10b062d874ce7ebdeb1 100644
--- a/media/blink/buffered_data_source_host_impl.h
+++ b/media/blink/buffered_data_source_host_impl.h
@@ -20,8 +20,8 @@ class MEDIA_BLINK_EXPORT BufferedDataSourceHostImpl
~BufferedDataSourceHostImpl() override;
// BufferedDataSourceHost implementation.
- void SetTotalBytes(int64 total_bytes) override;
- void AddBufferedByteRange(int64 start, int64 end) override;
+ void SetTotalBytes(int64_t total_bytes) override;
+ void AddBufferedByteRange(int64_t start, int64_t end) override;
// Translate the byte ranges to time ranges and append them to the list.
// TODO(sandersd): This is a confusing name, find something better.
@@ -33,11 +33,11 @@ class MEDIA_BLINK_EXPORT BufferedDataSourceHostImpl
private:
// Total size of the data source.
- int64 total_bytes_;
+ int64_t total_bytes_;
// List of buffered byte ranges for estimating buffered time.
// The InterValMap value is 1 for bytes that are buffered, 0 otherwise.
- IntervalMap<int64, int> buffered_byte_ranges_;
+ IntervalMap<int64_t, int> buffered_byte_ranges_;
// True when AddBufferedByteRange() has been called more recently than
// DidLoadingProgress().

Powered by Google App Engine
This is Rietveld 408576698