| 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" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
| 14 #include "base/sync_socket.h" | 14 #include "base/sync_socket.h" |
| 15 #include "content/renderer/pepper/pepper_device_enumeration_host_helper.h" | 15 #include "content/renderer/pepper/pepper_device_enumeration_host_helper.h" |
| 16 #include "content/renderer/pepper/plugin_delegate.h" |
| 16 #include "ipc/ipc_platform_file.h" | 17 #include "ipc/ipc_platform_file.h" |
| 17 #include "ppapi/c/ppb_audio_config.h" | 18 #include "ppapi/c/ppb_audio_config.h" |
| 18 #include "ppapi/host/host_message_context.h" | 19 #include "ppapi/host/host_message_context.h" |
| 19 #include "ppapi/host/resource_host.h" | 20 #include "ppapi/host/resource_host.h" |
| 20 #include "webkit/plugins/ppapi/plugin_delegate.h" | |
| 21 | 21 |
| 22 namespace content { | 22 namespace content { |
| 23 | 23 |
| 24 class RendererPpapiHostImpl; | 24 class RendererPpapiHostImpl; |
| 25 | 25 |
| 26 class PepperAudioInputHost | 26 class PepperAudioInputHost |
| 27 : public ppapi::host::ResourceHost, | 27 : public ppapi::host::ResourceHost, |
| 28 public webkit::ppapi::PluginDelegate::PlatformAudioInputClient, | 28 public webkit::ppapi::PluginDelegate::PlatformAudioInputClient, |
| 29 public PepperDeviceEnumerationHostHelper::Delegate { | 29 public PepperDeviceEnumerationHostHelper::Delegate { |
| 30 public: | 30 public: |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 webkit::ppapi::PluginDelegate::PlatformAudioInput* audio_input_; | 78 webkit::ppapi::PluginDelegate::PlatformAudioInput* audio_input_; |
| 79 | 79 |
| 80 PepperDeviceEnumerationHostHelper enumeration_helper_; | 80 PepperDeviceEnumerationHostHelper enumeration_helper_; |
| 81 | 81 |
| 82 DISALLOW_COPY_AND_ASSIGN(PepperAudioInputHost); | 82 DISALLOW_COPY_AND_ASSIGN(PepperAudioInputHost); |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace content | 85 } // namespace content |
| 86 | 86 |
| 87 #endif // CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_INPUT_HOST_H_ | 87 #endif // CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_INPUT_HOST_H_ |
| OLD | NEW |