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

Unified Diff: media/base/byte_queue.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/byte_queue.h
diff --git a/media/base/byte_queue.h b/media/base/byte_queue.h
index f25328d3628bca4bd1f60765590a8e7799d5bb62..1533adbc15c86e176c1e3c433f5b9da60416782f 100644
--- a/media/base/byte_queue.h
+++ b/media/base/byte_queue.h
@@ -5,7 +5,6 @@
#ifndef MEDIA_BASE_BYTE_QUEUE_H_
#define MEDIA_BASE_BYTE_QUEUE_H_
-#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "media/base/media_export.h"
@@ -25,21 +24,21 @@ class MEDIA_EXPORT ByteQueue {
void Reset();
// Appends new bytes onto the end of the queue.
- void Push(const uint8* data, int size);
+ void Push(const uint8_t* data, int size);
// Get a pointer to the front of the queue and the queue size.
// These values are only valid until the next Push() or
// Pop() call.
- void Peek(const uint8** data, int* size) const;
+ void Peek(const uint8_t** data, int* size) const;
// Remove |count| bytes from the front of the queue.
void Pop(int count);
private:
// Returns a pointer to the front of the queue.
- uint8* front() const;
+ uint8_t* front() const;
- scoped_ptr<uint8[]> buffer_;
+ scoped_ptr<uint8_t[]> buffer_;
// Size of |buffer_|.
size_t size_;

Powered by Google App Engine
This is Rietveld 408576698