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_MEDIA_WEBRTC_AUDIO_CAPTURER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_ |
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/files/file.h" | 12 #include "base/files/file.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
14 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
15 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
16 #include "base/time/time.h" | 17 #include "base/time/time.h" |
17 #include "content/common/media/media_stream_options.h" | 18 #include "content/common/media/media_stream_options.h" |
18 #include "content/renderer/media/tagged_list.h" | 19 #include "content/renderer/media/tagged_list.h" |
19 #include "media/audio/audio_input_device.h" | 20 #include "media/audio/audio_input_device.h" |
20 #include "media/base/audio_capturer_source.h" | 21 #include "media/base/audio_capturer_source.h" |
21 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" | 22 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" |
22 | 23 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 // guaranteed to exist as long as a WebRtcLocalAudioTrack is connected to this | 204 // guaranteed to exist as long as a WebRtcLocalAudioTrack is connected to this |
204 // WebRtcAudioCapturer. | 205 // WebRtcAudioCapturer. |
205 MediaStreamAudioSource* const audio_source_; | 206 MediaStreamAudioSource* const audio_source_; |
206 | 207 |
207 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioCapturer); | 208 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioCapturer); |
208 }; | 209 }; |
209 | 210 |
210 } // namespace content | 211 } // namespace content |
211 | 212 |
212 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_ | 213 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_ |
OLD | NEW |