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

Unified Diff: media/base/data_buffer.h

Issue 10228017: Add initial implementation of SourceBufferStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase ToT Created 8 years, 8 months 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
« no previous file with comments | « no previous file | media/filters/source_buffer_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/data_buffer.h
diff --git a/media/base/data_buffer.h b/media/base/data_buffer.h
index 8ba6956b0d994fbab055e0a4b1bde372c26c690f..136bb85c96152e95fef0e8c2aee071332fa874cc 100644
--- a/media/base/data_buffer.h
+++ b/media/base/data_buffer.h
@@ -50,6 +50,9 @@ class MEDIA_EXPORT DataBuffer : public Buffer {
virtual ~DataBuffer();
private:
+ // Helper method to allocate |data_| with at least |buffer_size| bytes.
+ void AllocateBuffer(int buffer_size);
+
scoped_array<uint8> data_;
int buffer_size_;
int data_size_;
« no previous file with comments | « no previous file | media/filters/source_buffer_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698