summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/media
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/media')
-rw-r--r--content/browser/renderer_host/media/audio_input_device_manager.h3
-rw-r--r--content/browser/renderer_host/media/audio_renderer_host.h3
-rw-r--r--content/browser/renderer_host/media/media_stream_dispatcher_host.h3
-rw-r--r--content/browser/renderer_host/media/media_stream_manager.h4
-rw-r--r--content/browser/renderer_host/media/media_stream_provider.h5
-rw-r--r--content/browser/renderer_host/media/media_stream_requester.h3
-rw-r--r--content/browser/renderer_host/media/media_stream_settings_requester.h3
-rw-r--r--content/browser/renderer_host/media/video_capture_controller_event_handler.h5
-rw-r--r--content/browser/renderer_host/media/video_capture_host.h3
-rw-r--r--content/browser/renderer_host/media/video_capture_manager.h3
10 files changed, 22 insertions, 13 deletions
diff --git a/content/browser/renderer_host/media/audio_input_device_manager.h b/content/browser/renderer_host/media/audio_input_device_manager.h
index 7ca04c3..342e1c0 100644
--- a/content/browser/renderer_host/media/audio_input_device_manager.h
+++ b/content/browser/renderer_host/media/audio_input_device_manager.h
@@ -17,6 +17,7 @@
#include "base/threading/thread.h"
#include "content/browser/renderer_host/media/media_stream_provider.h"
+#include "content/common/content_export.h"
#include "content/common/media/media_stream_options.h"
#include "media/audio/audio_device_name.h"
@@ -24,7 +25,7 @@ namespace media_stream {
class AudioInputDeviceManagerEventHandler;
-class AudioInputDeviceManager : public MediaStreamProvider {
+class CONTENT_EXPORT AudioInputDeviceManager : public MediaStreamProvider {
public:
// Calling Start() with this kFakeOpenSessionId will open the default device,
// even though Open() has not been called. This is used to be able to use the
diff --git a/content/browser/renderer_host/media/audio_renderer_host.h b/content/browser/renderer_host/media/audio_renderer_host.h
index b281278..d2308a5 100644
--- a/content/browser/renderer_host/media/audio_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_renderer_host.h
@@ -62,6 +62,7 @@
#include "base/shared_memory.h"
#include "content/browser/browser_message_filter.h"
#include "content/browser/browser_thread.h"
+#include "content/common/content_export.h"
#include "media/audio/audio_io.h"
#include "media/audio/audio_output_controller.h"
#include "media/audio/simple_sources.h"
@@ -74,7 +75,7 @@ namespace content {
class ResourceContext;
} // namespace content
-class AudioRendererHost
+class CONTENT_EXPORT AudioRendererHost
: public BrowserMessageFilter,
public media::AudioOutputController::EventHandler {
public:
diff --git a/content/browser/renderer_host/media/media_stream_dispatcher_host.h b/content/browser/renderer_host/media/media_stream_dispatcher_host.h
index c02d675..9397230 100644
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host.h
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host.h
@@ -12,6 +12,7 @@
#include "content/browser/browser_message_filter.h"
#include "content/browser/renderer_host/media/media_stream_manager.h"
#include "content/browser/renderer_host/media/media_stream_requester.h"
+#include "content/common/content_export.h"
#include "content/common/media/media_stream_options.h"
namespace content {
@@ -23,7 +24,7 @@ namespace media_stream {
// MediaStreamDispatcherHost is a delegate for Media Stream API messages used by
// MediaStreamImpl. It's the complement of MediaStreamDispatcher
// (owned by RenderView).
-class MediaStreamDispatcherHost
+class CONTENT_EXPORT MediaStreamDispatcherHost
: public BrowserMessageFilter,
public MediaStreamRequester {
public:
diff --git a/content/browser/renderer_host/media/media_stream_manager.h b/content/browser/renderer_host/media/media_stream_manager.h
index 9a477aa..9ddda6b 100644
--- a/content/browser/renderer_host/media/media_stream_manager.h
+++ b/content/browser/renderer_host/media/media_stream_manager.h
@@ -41,11 +41,11 @@ class VideoCaptureManager;
// start the media flow.
// The classes requesting new media streams are answered using
// MediaStreamManager::Listener.
-class MediaStreamManager
+class CONTENT_EXPORT MediaStreamManager
: public MediaStreamProviderListener,
public SettingsRequester {
public:
- CONTENT_EXPORT MediaStreamManager();
+ MediaStreamManager();
virtual ~MediaStreamManager();
// Used to access VideoCaptureManager.
diff --git a/content/browser/renderer_host/media/media_stream_provider.h b/content/browser/renderer_host/media/media_stream_provider.h
index 5c924b6..cab027a 100644
--- a/content/browser/renderer_host/media/media_stream_provider.h
+++ b/content/browser/renderer_host/media/media_stream_provider.h
@@ -15,6 +15,7 @@
#include <list>
#include <string>
+#include "content/common/content_export.h"
#include "content/common/media/media_stream_options.h"
namespace media_stream {
@@ -32,7 +33,7 @@ enum MediaStreamProviderError {
enum { kInvalidMediaCaptureSessionId = 0xFFFFFFFF };
// Callback class used by MediaStreamProvider.
-class MediaStreamProviderListener {
+class CONTENT_EXPORT MediaStreamProviderListener {
public:
// Called by a MediaStreamProvider when a stream has been opened.
virtual void Opened(MediaStreamType stream_type,
@@ -56,7 +57,7 @@ class MediaStreamProviderListener {
};
// Implemented by a manager class providing captured media.
-class MediaStreamProvider {
+class CONTENT_EXPORT MediaStreamProvider {
public:
// Registers a listener, only one listener is allowed.
virtual void Register(MediaStreamProviderListener* listener) = 0;
diff --git a/content/browser/renderer_host/media/media_stream_requester.h b/content/browser/renderer_host/media/media_stream_requester.h
index da879fa5..8d51bec 100644
--- a/content/browser/renderer_host/media/media_stream_requester.h
+++ b/content/browser/renderer_host/media/media_stream_requester.h
@@ -7,6 +7,7 @@
#include <string>
+#include "content/common/content_export.h"
#include "content/common/media/media_stream_options.h"
namespace media_stream {
@@ -14,7 +15,7 @@ namespace media_stream {
// MediaStreamRequester must be implemented by the class requesting a new media
// stream to be opened. MediaStreamManager will use this interface to signal
// success and error for a request.
-class MediaStreamRequester {
+class CONTENT_EXPORT MediaStreamRequester {
public:
// Called as a reply of a successful call to GenerateStream.
virtual void StreamGenerated(const std::string& label,
diff --git a/content/browser/renderer_host/media/media_stream_settings_requester.h b/content/browser/renderer_host/media/media_stream_settings_requester.h
index 267cc95..cdbcfff 100644
--- a/content/browser/renderer_host/media/media_stream_settings_requester.h
+++ b/content/browser/renderer_host/media/media_stream_settings_requester.h
@@ -7,12 +7,13 @@
#include <string>
+#include "content/common/content_export.h"
#include "content/common/media/media_stream_options.h"
namespace media_stream {
// Implemented by the class requesting media capture device usage.
-class SettingsRequester {
+class CONTENT_EXPORT SettingsRequester {
public:
// Called to get available devices for a certain media type. A call to
// |AvailableDevices| with the currently available capture devices is
diff --git a/content/browser/renderer_host/media/video_capture_controller_event_handler.h b/content/browser/renderer_host/media/video_capture_controller_event_handler.h
index 4396c32..77314a9 100644
--- a/content/browser/renderer_host/media/video_capture_controller_event_handler.h
+++ b/content/browser/renderer_host/media/video_capture_controller_event_handler.h
@@ -7,9 +7,10 @@
#include "base/shared_memory.h"
#include "base/time.h"
+#include "content/common/content_export.h"
// ID used for identifying an object of VideoCaptureController.
-struct VideoCaptureControllerID {
+struct CONTENT_EXPORT VideoCaptureControllerID {
VideoCaptureControllerID(int device_id);
bool operator<(const VideoCaptureControllerID& vc) const;
@@ -20,7 +21,7 @@ struct VideoCaptureControllerID {
// VideoCaptureControllerEventHandler is the interface for
// VideoCaptureController to notify clients about the events such as
// BufferReady, FrameInfo, Error, etc.
-class VideoCaptureControllerEventHandler {
+class CONTENT_EXPORT VideoCaptureControllerEventHandler {
public:
// An Error has occurred in the VideoCaptureDevice.
virtual void OnError(const VideoCaptureControllerID& id) = 0;
diff --git a/content/browser/renderer_host/media/video_capture_host.h b/content/browser/renderer_host/media/video_capture_host.h
index 9a0dbff..b5dfebc 100644
--- a/content/browser/renderer_host/media/video_capture_host.h
+++ b/content/browser/renderer_host/media/video_capture_host.h
@@ -41,13 +41,14 @@
#include "base/memory/ref_counted.h"
#include "content/browser/browser_message_filter.h"
#include "content/browser/renderer_host/media/video_capture_controller.h"
+#include "content/common/content_export.h"
#include "ipc/ipc_message.h"
namespace content {
class ResourceContext;
} // namespace content
-class VideoCaptureHost
+class CONTENT_EXPORT VideoCaptureHost
: public BrowserMessageFilter,
public VideoCaptureControllerEventHandler {
public:
diff --git a/content/browser/renderer_host/media/video_capture_manager.h b/content/browser/renderer_host/media/video_capture_manager.h
index 581efa6..f5040d4 100644
--- a/content/browser/renderer_host/media/video_capture_manager.h
+++ b/content/browser/renderer_host/media/video_capture_manager.h
@@ -14,6 +14,7 @@
#include "base/threading/thread.h"
#include "content/browser/renderer_host/media/media_stream_provider.h"
+#include "content/common/content_export.h"
#include "content/common/media/media_stream_options.h"
#include "media/video/capture/video_capture_device.h"
#include "media/video/capture/video_capture_types.h"
@@ -21,7 +22,7 @@
namespace media_stream {
// VideoCaptureManager opens/closes and start/stops video capture devices.
-class VideoCaptureManager : public MediaStreamProvider {
+class CONTENT_EXPORT VideoCaptureManager : public MediaStreamProvider {
public:
// Calling |Start| of this id will open the first device, even though open has
// not been called. This is used to be able to use video capture devices