| Index: media/base/audio_output_delegate.h
|
| diff --git a/content/browser/renderer_host/media/audio_output_delegate.h b/media/base/audio_output_delegate.h
|
| similarity index 78%
|
| rename from content/browser/renderer_host/media/audio_output_delegate.h
|
| rename to media/base/audio_output_delegate.h
|
| index 1bab027b59cff01a3fd6bcc28e873382f0d098a0..517cdaab9d6bf98289e901b930c069dbdfa14d16 100644
|
| --- a/content/browser/renderer_host/media/audio_output_delegate.h
|
| +++ b/media/base/audio_output_delegate.h
|
| @@ -2,15 +2,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_OUTPUT_DELEGATE_H_
|
| -#define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_OUTPUT_DELEGATE_H_
|
| +#ifndef MEDIA_BASE_AUDIO_OUTPUT_DELEGATE_H_
|
| +#define MEDIA_BASE_AUDIO_OUTPUT_DELEGATE_H_
|
|
|
| #include <memory>
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "content/common/content_export.h"
|
| +#include "media/base/media_export.h"
|
|
|
| namespace base {
|
| class SharedMemory;
|
| @@ -18,19 +18,15 @@ class CancelableSyncSocket;
|
| }
|
|
|
| namespace media {
|
| -class AudioOutputController;
|
| -}
|
|
|
| -namespace content {
|
| +class AudioOutputController;
|
|
|
| -class CONTENT_EXPORT AudioOutputDelegate {
|
| +class MEDIA_EXPORT AudioOutputDelegate {
|
| public:
|
| - class CONTENT_EXPORT EventHandler {
|
| + class MEDIA_EXPORT EventHandler {
|
| public:
|
| virtual ~EventHandler() {}
|
|
|
| - // All these methods are called on the IO thread.
|
| -
|
| // Called when construction is finished and the stream is ready for
|
| // playout.
|
| virtual void OnStreamCreated(int stream_id,
|
| @@ -59,6 +55,6 @@ class CONTENT_EXPORT AudioOutputDelegate {
|
| virtual void OnSetVolume(double volume) = 0;
|
| };
|
|
|
| -} // namespace content
|
| +} // namespace media
|
|
|
| -#endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_OUTPUT_DELEGATE_H_
|
| +#endif // MEDIA_BASE_AUDIO_OUTPUT_DELEGATE_H_
|
|
|