OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PEPPER_PEPPER_PLATFORM_AUDIO_INPUT_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_INPUT_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_INPUT_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_INPUT_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "content/renderer/pepper/plugin_delegate.h" |
15 #include "media/audio/audio_input_ipc.h" | 16 #include "media/audio/audio_input_ipc.h" |
16 #include "media/audio/audio_parameters.h" | 17 #include "media/audio/audio_parameters.h" |
17 #include "webkit/plugins/ppapi/plugin_delegate.h" | |
18 | 18 |
19 class GURL; | 19 class GURL; |
20 | 20 |
21 namespace media { | 21 namespace media { |
22 class AudioParameters; | 22 class AudioParameters; |
23 } | 23 } |
24 | 24 |
25 namespace content { | 25 namespace content { |
26 | 26 |
27 class PepperPluginDelegateImpl; | 27 class PepperPluginDelegateImpl; |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 bool pending_open_device_; | 123 bool pending_open_device_; |
124 // THIS MUST ONLY BE ACCESSED ON THE MAIN THREAD. | 124 // THIS MUST ONLY BE ACCESSED ON THE MAIN THREAD. |
125 int pending_open_device_id_; | 125 int pending_open_device_id_; |
126 | 126 |
127 DISALLOW_COPY_AND_ASSIGN(PepperPlatformAudioInputImpl); | 127 DISALLOW_COPY_AND_ASSIGN(PepperPlatformAudioInputImpl); |
128 }; | 128 }; |
129 | 129 |
130 } // namespace content | 130 } // namespace content |
131 | 131 |
132 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_INPUT_IMPL_H_ | 132 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_INPUT_IMPL_H_ |
OLD | NEW |