OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_ |
6 #define CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_ | 6 #define CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "content/child/thread_safe_sender.h" | 10 #include "content/child/thread_safe_sender.h" |
9 | 11 |
10 namespace blink { | 12 namespace blink { |
11 class WebAudioBus; | 13 class WebAudioBus; |
12 } | 14 } |
13 | 15 |
14 namespace content { | 16 namespace content { |
15 | 17 |
16 bool DecodeAudioFileData(blink::WebAudioBus* destination_bus, | 18 bool DecodeAudioFileData(blink::WebAudioBus* destination_bus, |
17 const char* data, | 19 const char* data, |
18 size_t data_size, | 20 size_t data_size, |
19 scoped_refptr<ThreadSafeSender> sender); | 21 scoped_refptr<ThreadSafeSender> sender); |
20 | 22 |
21 } // namespace content | 23 } // namespace content |
22 | 24 |
23 #endif // CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_ | 25 #endif // CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_ |
OLD | NEW |