OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MEDIA_STREAM_AUDIO_TRACK_HOST_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_STREAM_AUDIO_TRACK_HOST_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_STREAM_AUDIO_TRACK_HOST_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_STREAM_AUDIO_TRACK_HOST_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <deque> | 10 #include <deque> |
9 | 11 |
10 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
13 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
14 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
15 #include "content/public/renderer/media_stream_audio_sink.h" | 18 #include "content/public/renderer/media_stream_audio_sink.h" |
16 #include "content/renderer/pepper/pepper_media_stream_track_host_base.h" | 19 #include "content/renderer/pepper/pepper_media_stream_track_host_base.h" |
17 #include "media/audio/audio_parameters.h" | 20 #include "media/audio/audio_parameters.h" |
18 #include "ppapi/host/host_message_context.h" | 21 #include "ppapi/host/host_message_context.h" |
19 #include "ppapi/shared_impl/media_stream_audio_track_shared.h" | 22 #include "ppapi/shared_impl/media_stream_audio_track_shared.h" |
20 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" | 23 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 bool connected_; | 169 bool connected_; |
167 | 170 |
168 AudioSink audio_sink_; | 171 AudioSink audio_sink_; |
169 | 172 |
170 DISALLOW_COPY_AND_ASSIGN(PepperMediaStreamAudioTrackHost); | 173 DISALLOW_COPY_AND_ASSIGN(PepperMediaStreamAudioTrackHost); |
171 }; | 174 }; |
172 | 175 |
173 } // namespace content | 176 } // namespace content |
174 | 177 |
175 #endif // CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_STREAM_AUDIO_TRACK_HOST_H_ | 178 #endif // CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_STREAM_AUDIO_TRACK_HOST_H_ |
OLD | NEW |