summaryrefslogtreecommitdiffstats
path: root/media/base/buffers.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-08 18:25:09 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-08 18:25:09 +0000
commit1fd3ddc659f381c285c35f29ea8bdd33b06a1dfc (patch)
tree907cd1f3e07b67526d4cb29209c896425d4cdf3b /media/base/buffers.h
parentb0da24bc22a1726c240f8d9392381ff66c4cca3c (diff)
downloadchromium_src-1fd3ddc659f381c285c35f29ea8bdd33b06a1dfc.zip
chromium_src-1fd3ddc659f381c285c35f29ea8bdd33b06a1dfc.tar.gz
chromium_src-1fd3ddc659f381c285c35f29ea8bdd33b06a1dfc.tar.bz2
Enable media.dll / libmedia.so.
Review URL: http://codereview.chromium.org/7572040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95841 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/buffers.h')
-rw-r--r--media/base/buffers.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/media/base/buffers.h b/media/base/buffers.h
index 8c5c219..a97d8dd 100644
--- a/media/base/buffers.h
+++ b/media/base/buffers.h
@@ -30,13 +30,15 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "base/time.h"
+#include "media/base/media_export.h"
namespace media {
// Indicates an invalid or missing timestamp.
-extern const base::TimeDelta kNoTimestamp;
+MEDIA_EXPORT extern const base::TimeDelta kNoTimestamp;
-class StreamSample : public base::RefCountedThreadSafe<StreamSample> {
+class MEDIA_EXPORT StreamSample
+ : public base::RefCountedThreadSafe<StreamSample> {
public:
// Returns the timestamp of this buffer in microseconds.
base::TimeDelta GetTimestamp() const {
@@ -76,7 +78,7 @@ class StreamSample : public base::RefCountedThreadSafe<StreamSample> {
};
-class Buffer : public StreamSample {
+class MEDIA_EXPORT Buffer : public StreamSample {
public:
// Returns a read only pointer to the buffer data.
virtual const uint8* GetData() const = 0;