OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_ | 5 #ifndef WEBKIT_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_ |
6 #define WEBKIT_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_ | 6 #define WEBKIT_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_ |
7 | 7 |
8 #include "base/synchronization/lock.h" | 8 #include "base/synchronization/lock.h" |
9 #include "media/base/audio_renderer_sink.h" | 9 #include "media/base/audio_renderer_sink.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAudioSourceProvide
r.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAudioSourceProvide
r.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" | |
12 | 12 |
13 namespace WebKit { | 13 namespace WebKit { |
14 class WebAudioSourceProviderClient; | 14 class WebAudioSourceProviderClient; |
15 } | 15 } |
16 | 16 |
17 namespace webkit_media { | 17 namespace webkit_media { |
18 | 18 |
19 // WebAudioSourceProviderImpl provides a bridge between classes: | 19 // WebAudioSourceProviderImpl provides a bridge between classes: |
20 // WebKit::WebAudioSourceProvider <---> media::AudioRendererSink | 20 // WebKit::WebAudioSourceProvider <---> media::AudioRendererSink |
21 // | 21 // |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // Where audio ends up unless overridden by |client_|. | 70 // Where audio ends up unless overridden by |client_|. |
71 base::Lock sink_lock_; | 71 base::Lock sink_lock_; |
72 scoped_refptr<media::AudioRendererSink> sink_; | 72 scoped_refptr<media::AudioRendererSink> sink_; |
73 | 73 |
74 DISALLOW_IMPLICIT_CONSTRUCTORS(WebAudioSourceProviderImpl); | 74 DISALLOW_IMPLICIT_CONSTRUCTORS(WebAudioSourceProviderImpl); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace webkit_media | 77 } // namespace webkit_media |
78 | 78 |
79 #endif // WEBKIT_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_ | 79 #endif // WEBKIT_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_ |
OLD | NEW |