| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 PPAPI_PPB_AUDIO_INPUT_PROXY_H_ | 5 #ifndef PPAPI_PPB_AUDIO_INPUT_PROXY_H_ |
| 6 #define PPAPI_PPB_AUDIO_INPUT_PROXY_H_ | 6 #define PPAPI_PPB_AUDIO_INPUT_PROXY_H_ |
| 7 | 7 |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/shared_memory.h" | 11 #include "base/shared_memory.h" |
| 12 #include "base/sync_socket.h" | 12 #include "base/sync_socket.h" |
| 13 #include "ipc/ipc_platform_file.h" | 13 #include "ipc/ipc_platform_file.h" |
| 14 #include "ppapi/c/dev/ppb_audio_input_dev.h" | 14 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
| 15 #include "ppapi/c/ppb_audio_config.h" | 15 #include "ppapi/c/ppb_audio_config.h" |
| 16 #include "ppapi/cpp/completion_callback.h" | 16 #include "ppapi/cpp/completion_callback.h" |
| 17 #include "ppapi/proxy/interface_proxy.h" | 17 #include "ppapi/proxy/interface_proxy.h" |
| 18 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" | 18 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" |
| 19 | 19 |
| 20 struct PPB_AudioInput_Dev; | |
| 21 | |
| 22 namespace ppapi { | 20 namespace ppapi { |
| 23 | 21 |
| 24 class HostResource; | 22 class HostResource; |
| 25 | 23 |
| 26 namespace proxy { | 24 namespace proxy { |
| 27 | 25 |
| 28 class PPB_AudioInput_Proxy : public InterfaceProxy { | 26 class PPB_AudioInput_Proxy : public InterfaceProxy { |
| 29 public: | 27 public: |
| 30 explicit PPB_AudioInput_Proxy(Dispatcher* dispatcher); | 28 explicit PPB_AudioInput_Proxy(Dispatcher* dispatcher); |
| 31 virtual ~PPB_AudioInput_Proxy(); | 29 virtual ~PPB_AudioInput_Proxy(); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 pp::CompletionCallbackFactory<PPB_AudioInput_Proxy, | 75 pp::CompletionCallbackFactory<PPB_AudioInput_Proxy, |
| 78 ProxyNonThreadSafeRefCount> callback_factory_; | 76 ProxyNonThreadSafeRefCount> callback_factory_; |
| 79 | 77 |
| 80 DISALLOW_COPY_AND_ASSIGN(PPB_AudioInput_Proxy); | 78 DISALLOW_COPY_AND_ASSIGN(PPB_AudioInput_Proxy); |
| 81 }; | 79 }; |
| 82 | 80 |
| 83 } // namespace proxy | 81 } // namespace proxy |
| 84 } // namespace ppapi | 82 } // namespace ppapi |
| 85 | 83 |
| 86 #endif // PPAPI_PPB_AUDIO_INPUT_PROXY_H_ | 84 #endif // PPAPI_PPB_AUDIO_INPUT_PROXY_H_ |
| OLD | NEW |