| 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_LOCAL_AUDIO_SOURCE_PROVIDER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_LOCAL_AUDIO_SOURCE_PROVIDER_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_LOCAL_AUDIO_SOURCE_PROVIDER_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_LOCAL_AUDIO_SOURCE_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 12 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
| 12 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
| 13 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 14 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
| 15 #include "content/public/renderer/media_stream_audio_sink.h" | 18 #include "content/public/renderer/media_stream_audio_sink.h" |
| 16 #include "media/base/audio_converter.h" | 19 #include "media/base/audio_converter.h" |
| 17 #include "third_party/WebKit/public/platform/WebAudioSourceProvider.h" | 20 #include "third_party/WebKit/public/platform/WebAudioSourceProvider.h" |
| 18 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" | 21 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
| 19 #include "third_party/WebKit/public/platform/WebVector.h" | 22 #include "third_party/WebKit/public/platform/WebVector.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 104 |
| 102 // Flag to tell if the track has been stopped or not. | 105 // Flag to tell if the track has been stopped or not. |
| 103 bool track_stopped_; | 106 bool track_stopped_; |
| 104 | 107 |
| 105 DISALLOW_COPY_AND_ASSIGN(WebRtcLocalAudioSourceProvider); | 108 DISALLOW_COPY_AND_ASSIGN(WebRtcLocalAudioSourceProvider); |
| 106 }; | 109 }; |
| 107 | 110 |
| 108 } // namespace content | 111 } // namespace content |
| 109 | 112 |
| 110 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_LOCAL_AUDIO_SOURCE_PROVIDER_H_ | 113 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_LOCAL_AUDIO_SOURCE_PROVIDER_H_ |
| OLD | NEW |