diff options
Diffstat (limited to 'media/base/data_buffer.h')
-rwxr-xr-x | media/base/data_buffer.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/media/base/data_buffer.h b/media/base/data_buffer.h index 9ee72e9..8099d14 100755 --- a/media/base/data_buffer.h +++ b/media/base/data_buffer.h @@ -16,23 +16,21 @@ namespace media { class DataBuffer : public WritableBuffer { public: - DataBuffer(char* data, size_t buffer_size, size_t data_size, - const base::TimeDelta& timestamp, const base::TimeDelta& duration); + DataBuffer(); // Buffer implementation. - virtual const char* GetData() const; + virtual const uint8* GetData() const; virtual size_t GetDataSize() const; // WritableBuffer implementation. - virtual char* GetWritableData(); - virtual size_t GetBufferSize() const; + virtual uint8* GetWritableData(size_t buffer_size); virtual void SetDataSize(size_t data_size); protected: virtual ~DataBuffer(); private: - char* data_; + uint8* data_; size_t buffer_size_; size_t data_size_; }; |