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 CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_THREAD_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_THREAD_H_ |
6 #define CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_THREAD_H_ | 6 #define CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_THREAD_H_ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
13 #include "base/shared_memory.h" | 12 #include "base/shared_memory.h" |
14 #include "base/sync_socket.h" | 13 #include "base/sync_socket.h" |
15 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
16 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
17 #include "media/audio/audio_parameters.h" | 16 #include "media/audio/audio_parameters.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 // reliable initialization. | 98 // reliable initialization. |
100 class Thread; | 99 class Thread; |
101 | 100 |
102 base::Lock thread_lock_; | 101 base::Lock thread_lock_; |
103 scoped_refptr<AudioDeviceThread::Thread> thread_; | 102 scoped_refptr<AudioDeviceThread::Thread> thread_; |
104 | 103 |
105 DISALLOW_COPY_AND_ASSIGN(AudioDeviceThread); | 104 DISALLOW_COPY_AND_ASSIGN(AudioDeviceThread); |
106 }; | 105 }; |
107 | 106 |
108 #endif // CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_THREAD_H_ | 107 #endif // CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_THREAD_H_ |
OLD | NEW |