| 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_PEPPER_PEPPER_AUDIO_INPUT_HOST_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_INPUT_HOST_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_INPUT_HOST_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_INPUT_HOST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 base::SyncSocket::Handle socket_handle); | 53 base::SyncSocket::Handle socket_handle); |
| 54 | 54 |
| 55 int32_t GetRemoteHandles( | 55 int32_t GetRemoteHandles( |
| 56 const base::SyncSocket& socket, | 56 const base::SyncSocket& socket, |
| 57 const base::SharedMemory& shared_memory, | 57 const base::SharedMemory& shared_memory, |
| 58 IPC::PlatformFileForTransit* remote_socket_handle, | 58 IPC::PlatformFileForTransit* remote_socket_handle, |
| 59 base::SharedMemoryHandle* remote_shared_memory_handle); | 59 base::SharedMemoryHandle* remote_shared_memory_handle); |
| 60 | 60 |
| 61 void Close(); | 61 void Close(); |
| 62 | 62 |
| 63 void SendOpenReply(int32_t result); |
| 64 |
| 63 // Non-owning pointer. | 65 // Non-owning pointer. |
| 64 RendererPpapiHostImpl* renderer_ppapi_host_; | 66 RendererPpapiHostImpl* renderer_ppapi_host_; |
| 65 | 67 |
| 66 scoped_ptr<ppapi::host::ReplyMessageContext> open_context_; | 68 ppapi::host::ReplyMessageContext open_context_; |
| 67 | 69 |
| 68 // Audio input object that we delegate audio IPC through. | 70 // Audio input object that we delegate audio IPC through. |
| 69 // We don't own this pointer but are responsible for calling Shutdown on it. | 71 // We don't own this pointer but are responsible for calling Shutdown on it. |
| 70 PepperPlatformAudioInput* audio_input_; | 72 PepperPlatformAudioInput* audio_input_; |
| 71 | 73 |
| 72 PepperDeviceEnumerationHostHelper enumeration_helper_; | 74 PepperDeviceEnumerationHostHelper enumeration_helper_; |
| 73 | 75 |
| 74 DISALLOW_COPY_AND_ASSIGN(PepperAudioInputHost); | 76 DISALLOW_COPY_AND_ASSIGN(PepperAudioInputHost); |
| 75 }; | 77 }; |
| 76 | 78 |
| 77 } // namespace content | 79 } // namespace content |
| 78 | 80 |
| 79 #endif // CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_INPUT_HOST_H_ | 81 #endif // CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_INPUT_HOST_H_ |
| OLD | NEW |