OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_RENDERER_HOST_AUDIO_SYNC_READER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_AUDIO_SYNC_READER_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_AUDIO_SYNC_READER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_AUDIO_SYNC_READER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/file_descriptor_posix.h" | 9 #include "base/file_descriptor_posix.h" |
10 #include "base/process.h" | 10 #include "base/process.h" |
11 #include "base/sync_socket.h" | 11 #include "base/sync_socket.h" |
12 #include "media/audio/audio_output_controller.h" | 12 #include "media/audio/audio_output_controller.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 | 15 |
16 class SharedMemory; | 16 class SharedMemory; |
(...skipping 29 matching lines...) Expand all Loading... |
46 // A pair of SyncSocket for transmitting audio data. | 46 // A pair of SyncSocket for transmitting audio data. |
47 scoped_ptr<base::SyncSocket> socket_; | 47 scoped_ptr<base::SyncSocket> socket_; |
48 | 48 |
49 // SyncSocket to be used by the renderer. The reference is released after | 49 // SyncSocket to be used by the renderer. The reference is released after |
50 // PrepareForeignSocketHandle() is called and ran successfully. | 50 // PrepareForeignSocketHandle() is called and ran successfully. |
51 scoped_ptr<base::SyncSocket> foreign_socket_; | 51 scoped_ptr<base::SyncSocket> foreign_socket_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(AudioSyncReader); | 53 DISALLOW_COPY_AND_ASSIGN(AudioSyncReader); |
54 }; | 54 }; |
55 | 55 |
56 #endif // CHROME_BROWSER_RENDERER_HOST_AUDIO_SYNC_READER_H_ | 56 #endif // CONTENT_BROWSER_RENDERER_HOST_AUDIO_SYNC_READER_H_ |
OLD | NEW |