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

Unified Diff: media/blink/url_index.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/url_index.h
diff --git a/media/blink/url_index.h b/media/blink/url_index.h
index 63f314a01841defc612f8315ab893fde6d7dd063..2850b3bdd9f3660a495b495b9f65778357b1c361 100644
--- a/media/blink/url_index.h
+++ b/media/blink/url_index.h
@@ -20,7 +20,7 @@
namespace media {
-const int64 kPositionNotSpecified = -1;
+const int64_t kPositionNotSpecified = -1;
class UrlData;
@@ -81,7 +81,7 @@ class MEDIA_BLINK_EXPORT UrlData : public base::RefCounted<UrlData> {
KeyType key() const;
// Length of data associated with url or |kPositionNotSpecified|
- int64 length() const { return length_; }
+ int64_t length() const { return length_; }
// Returns the number of blocks cached for this resource.
size_t CachedSize();
@@ -95,7 +95,7 @@ class MEDIA_BLINK_EXPORT UrlData : public base::RefCounted<UrlData> {
void Use();
// Setters.
- void set_length(int64 length);
+ void set_length(int64_t length);
void set_cacheable(bool cacheable);
void set_valid_until(base::Time valid_until);
void set_range_supported();
@@ -151,7 +151,7 @@ class MEDIA_BLINK_EXPORT UrlData : public base::RefCounted<UrlData> {
base::WeakPtr<UrlIndex> url_index_;
// Length of resource this url points to. (in bytes)
- int64 length_;
+ int64_t length_;
// Does the server support ranges?
bool range_supported_;

Powered by Google App Engine
This is Rietveld 408576698