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_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_SYNC_WRITER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_SYNC_WRITER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_SYNC_WRITER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_SYNC_WRITER_H_ |
7 | 7 |
8 #include "base/file_descriptor_posix.h" | 8 #include "base/file_descriptor_posix.h" |
9 #include "base/process.h" | 9 #include "base/process/process.h" |
10 #include "base/sync_socket.h" | 10 #include "base/sync_socket.h" |
11 #include "media/audio/audio_input_controller.h" | 11 #include "media/audio/audio_input_controller.h" |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 class SharedMemory; | 14 class SharedMemory; |
15 } | 15 } |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 // A AudioInputController::SyncWriter implementation using SyncSocket. This | 18 // A AudioInputController::SyncWriter implementation using SyncSocket. This |
19 // is used by AudioInputController to provide a low latency data source for | 19 // is used by AudioInputController to provide a low latency data source for |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 // Socket to be used by the renderer. The reference is released after | 51 // Socket to be used by the renderer. The reference is released after |
52 // PrepareForeignSocketHandle() is called and ran successfully. | 52 // PrepareForeignSocketHandle() is called and ran successfully. |
53 scoped_ptr<base::CancelableSyncSocket> foreign_socket_; | 53 scoped_ptr<base::CancelableSyncSocket> foreign_socket_; |
54 | 54 |
55 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioInputSyncWriter); | 55 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioInputSyncWriter); |
56 }; | 56 }; |
57 | 57 |
58 } // namespace content | 58 } // namespace content |
59 | 59 |
60 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_SYNC_WRITER_H_ | 60 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_SYNC_WRITER_H_ |
OLD | NEW |