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_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ |
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/time.h" | 10 #include "base/time/time.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "third_party/webrtc/modules/audio_device/include/audio_device.h" | 12 #include "third_party/webrtc/modules/audio_device/include/audio_device.h" |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 // WebRtcAudioDeviceNotImpl contains default implementations of all methods | 16 // WebRtcAudioDeviceNotImpl contains default implementations of all methods |
17 // in the webrtc::AudioDeviceModule which are currently not supported in Chrome. | 17 // in the webrtc::AudioDeviceModule which are currently not supported in Chrome. |
18 // The real implementation is in WebRtcAudioDeviceImpl and it derives from | 18 // The real implementation is in WebRtcAudioDeviceImpl and it derives from |
19 // this class. The main purpose of breaking out non-implemented methods into | 19 // this class. The main purpose of breaking out non-implemented methods into |
20 // a separate unit is to make WebRtcAudioDeviceImpl more readable and easier | 20 // a separate unit is to make WebRtcAudioDeviceImpl more readable and easier |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 virtual ~WebRtcAudioDeviceNotImpl() {}; | 111 virtual ~WebRtcAudioDeviceNotImpl() {}; |
112 | 112 |
113 private: | 113 private: |
114 base::TimeTicks last_process_time_; | 114 base::TimeTicks last_process_time_; |
115 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioDeviceNotImpl); | 115 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioDeviceNotImpl); |
116 }; | 116 }; |
117 | 117 |
118 } // namespace content | 118 } // namespace content |
119 | 119 |
120 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ | 120 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ |
OLD | NEW |