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

Unified Diff: media/filters/blocking_url_protocol.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/filters/blocking_url_protocol.h
diff --git a/media/filters/blocking_url_protocol.h b/media/filters/blocking_url_protocol.h
index dbeeef917c327c9fd8f7e17f6162f78714261f15..c749c3674b99d28d055f1a7618d7780ad8989733 100644
--- a/media/filters/blocking_url_protocol.h
+++ b/media/filters/blocking_url_protocol.h
@@ -5,7 +5,6 @@
#ifndef MEDIA_FILTERS_BLOCKING_URL_PROTOCOL_H_
#define MEDIA_FILTERS_BLOCKING_URL_PROTOCOL_H_
-#include "base/basictypes.h"
#include "base/callback.h"
#include "base/synchronization/waitable_event.h"
#include "media/filters/ffmpeg_glue.h"
@@ -31,10 +30,10 @@ class MEDIA_EXPORT BlockingUrlProtocol : public FFmpegURLProtocol {
void Abort();
// FFmpegURLProtocol implementation.
- int Read(int size, uint8* data) override;
- bool GetPosition(int64* position_out) override;
- bool SetPosition(int64 position) override;
- bool GetSize(int64* size_out) override;
+ int Read(int size, uint8_t* data) override;
+ bool GetPosition(int64_t* position_out) override;
+ bool SetPosition(int64_t position) override;
+ bool GetSize(int64_t* size_out) override;
bool IsStreaming() override;
private:
@@ -53,7 +52,7 @@ class MEDIA_EXPORT BlockingUrlProtocol : public FFmpegURLProtocol {
int last_read_bytes_;
// Cached position within the data source.
- int64 read_position_;
+ int64_t read_position_;
DISALLOW_IMPLICIT_CONSTRUCTORS(BlockingUrlProtocol);
};

Powered by Google App Engine
This is Rietveld 408576698