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 MEDIA_AUDIO_AUDIO_DEVICE_THREAD_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_DEVICE_THREAD_H_ |
6 #define MEDIA_AUDIO_AUDIO_DEVICE_THREAD_H_ | 6 #define MEDIA_AUDIO_AUDIO_DEVICE_THREAD_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | |
danakj
2016/04/22 22:47:35
unused
dcheng
2016/04/22 23:13:19
Done.
| |
11 | |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | |
13 #include "base/memory/shared_memory.h" | 14 #include "base/memory/shared_memory.h" |
14 #include "base/sync_socket.h" | 15 #include "base/sync_socket.h" |
15 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
16 #include "media/audio/audio_parameters.h" | 17 #include "media/audio/audio_parameters.h" |
17 #include "media/base/media_export.h" | 18 #include "media/base/media_export.h" |
18 | 19 |
19 namespace base { | 20 namespace base { |
20 class MessageLoop; | 21 class MessageLoop; |
21 } | 22 } |
22 | 23 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
110 | 111 |
111 base::Lock thread_lock_; | 112 base::Lock thread_lock_; |
112 scoped_refptr<AudioDeviceThread::Thread> thread_; | 113 scoped_refptr<AudioDeviceThread::Thread> thread_; |
113 | 114 |
114 DISALLOW_COPY_AND_ASSIGN(AudioDeviceThread); | 115 DISALLOW_COPY_AND_ASSIGN(AudioDeviceThread); |
115 }; | 116 }; |
116 | 117 |
117 } // namespace media. | 118 } // namespace media. |
118 | 119 |
119 #endif // MEDIA_AUDIO_AUDIO_DEVICE_THREAD_H_ | 120 #endif // MEDIA_AUDIO_AUDIO_DEVICE_THREAD_H_ |
OLD | NEW |