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_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_INPUT_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_INPUT_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_INPUT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "media/audio/audio_input_ipc.h" | 15 #include "media/audio/audio_input_ipc.h" |
16 #include "media/audio/audio_parameters.h" | 16 #include "media/base/audio_parameters.h" |
17 | 17 |
18 class GURL; | 18 class GURL; |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class SingleThreadTaskRunner; | 21 class SingleThreadTaskRunner; |
22 } | 22 } |
23 | 23 |
24 namespace media { | 24 namespace media { |
25 class AudioParameters; | 25 class AudioParameters; |
26 } | 26 } |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 bool pending_open_device_; | 126 bool pending_open_device_; |
127 // THIS MUST ONLY BE ACCESSED ON THE MAIN THREAD. | 127 // THIS MUST ONLY BE ACCESSED ON THE MAIN THREAD. |
128 int pending_open_device_id_; | 128 int pending_open_device_id_; |
129 | 129 |
130 DISALLOW_COPY_AND_ASSIGN(PepperPlatformAudioInput); | 130 DISALLOW_COPY_AND_ASSIGN(PepperPlatformAudioInput); |
131 }; | 131 }; |
132 | 132 |
133 } // namespace content | 133 } // namespace content |
134 | 134 |
135 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_INPUT_H_ | 135 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_AUDIO_INPUT_H_ |
OLD | NEW |