summaryrefslogtreecommitdiffstats
path: root/media/base/buffers.h
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 20:44:55 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 20:44:55 +0000
commit09b1639499698897c778544f8701b6caad7bd220 (patch)
treeb0caaba6117e71441b26d201834c3ad5a3fa8efe /media/base/buffers.h
parent7b3b9d92c446662c6f9d40e8a7b980435613a75c (diff)
downloadchromium_src-09b1639499698897c778544f8701b6caad7bd220.zip
chromium_src-09b1639499698897c778544f8701b6caad7bd220.tar.gz
chromium_src-09b1639499698897c778544f8701b6caad7bd220.tar.bz2
Remove WriteableBuffer interface as DataBuffer is the only implementation.
Turns out we never needed multiple WritableBuffer implementations. BUG=54110 TEST=media_unittests Review URL: http://codereview.chromium.org/4824002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65988 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/buffers.h')
-rw-r--r--media/base/buffers.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/media/base/buffers.h b/media/base/buffers.h
index 1b33415..9149465 100644
--- a/media/base/buffers.h
+++ b/media/base/buffers.h
@@ -103,23 +103,6 @@ class Buffer : public StreamSample {
virtual ~Buffer() {}
};
-
-class WritableBuffer : public Buffer {
- public:
- // Returns a read-write pointer to the buffer data.
- virtual uint8* GetWritableData() = 0;
-
- // Updates the size of valid data in bytes, which must be less than or equal
- // to GetBufferSize().
- virtual void SetDataSize(size_t data_size) = 0;
-
- // Returns the size of the underlying buffer.
- virtual size_t GetBufferSize() const = 0;
-
- protected:
- virtual ~WritableBuffer() {}
-};
-
} // namespace media
#endif // MEDIA_BASE_BUFFERS_H_