| 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 <stdint.h> |
| 9 |
| 9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 10 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 11 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 12 #include "third_party/webrtc/modules/audio_device/include/audio_device.h" | 14 #include "third_party/webrtc/modules/audio_device/include/audio_device.h" |
| 13 | 15 |
| 14 namespace content { | 16 namespace content { |
| 15 | 17 |
| 16 // WebRtcAudioDeviceNotImpl contains default implementations of all methods | 18 // WebRtcAudioDeviceNotImpl contains default implementations of all methods |
| 17 // in the webrtc::AudioDeviceModule which are currently not supported in Chrome. | 19 // in the webrtc::AudioDeviceModule which are currently not supported in Chrome. |
| 18 // The real implementation is in WebRtcAudioDeviceImpl and it derives from | 20 // The real implementation is in WebRtcAudioDeviceImpl and it derives from |
| 19 // this class. The main purpose of breaking out non-implemented methods into | 21 // this class. The main purpose of breaking out non-implemented methods into |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 ~WebRtcAudioDeviceNotImpl() override{}; | 109 ~WebRtcAudioDeviceNotImpl() override{}; |
| 108 | 110 |
| 109 private: | 111 private: |
| 110 base::TimeTicks last_process_time_; | 112 base::TimeTicks last_process_time_; |
| 111 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioDeviceNotImpl); | 113 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioDeviceNotImpl); |
| 112 }; | 114 }; |
| 113 | 115 |
| 114 } // namespace content | 116 } // namespace content |
| 115 | 117 |
| 116 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ | 118 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ |
| OLD | NEW |