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

Unified Diff: media/base/stream_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/base/stream_parser.h
diff --git a/media/base/stream_parser.h b/media/base/stream_parser.h
index b072e738549581f69d417e2c3106c59d1f2d64ed..0554d29606be43b8f549e55d13d7f34d83f356d3 100644
--- a/media/base/stream_parser.h
+++ b/media/base/stream_parser.h
@@ -106,7 +106,7 @@ class MEDIA_EXPORT StreamParser {
// First parameter - The type of the initialization data associated with the
// stream.
// Second parameter - The initialization data associated with the stream.
- typedef base::Callback<void(EmeInitDataType, const std::vector<uint8>&)>
+ typedef base::Callback<void(EmeInitDataType, const std::vector<uint8_t>&)>
EncryptedMediaInitDataCB;
StreamParser();
@@ -135,7 +135,7 @@ class MEDIA_EXPORT StreamParser {
// Called when there is new data to parse.
//
// Returns true if the parse succeeds.
- virtual bool Parse(const uint8* buf, int size) = 0;
+ virtual bool Parse(const uint8_t* buf, int size) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(StreamParser);

Powered by Google App Engine
This is Rietveld 408576698