| 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_PROXY_PPB_AUDIO_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_AUDIO_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_AUDIO_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_AUDIO_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/pp_instance.h" | 14 #include "ppapi/c/pp_instance.h" |
| 15 #include "ppapi/c/pp_module.h" | |
| 16 #include "ppapi/c/pp_resource.h" | 15 #include "ppapi/c/pp_resource.h" |
| 17 #include "ppapi/c/ppb_audio.h" | 16 #include "ppapi/c/ppb_audio.h" |
| 18 #include "ppapi/c/ppb_audio_config.h" | |
| 19 #include "ppapi/cpp/completion_callback.h" | 17 #include "ppapi/cpp/completion_callback.h" |
| 20 #include "ppapi/proxy/interface_proxy.h" | 18 #include "ppapi/proxy/interface_proxy.h" |
| 21 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" | 19 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" |
| 22 | 20 |
| 23 struct PPB_Audio; | |
| 24 | |
| 25 namespace ppapi { | 21 namespace ppapi { |
| 26 | 22 |
| 27 class HostResource; | 23 class HostResource; |
| 28 | 24 |
| 29 namespace proxy { | 25 namespace proxy { |
| 30 | 26 |
| 31 class PPB_Audio_Proxy : public InterfaceProxy { | 27 class PPB_Audio_Proxy : public InterfaceProxy { |
| 32 public: | 28 public: |
| 33 PPB_Audio_Proxy(Dispatcher* dispatcher); | 29 PPB_Audio_Proxy(Dispatcher* dispatcher); |
| 34 virtual ~PPB_Audio_Proxy(); | 30 virtual ~PPB_Audio_Proxy(); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 pp::CompletionCallbackFactory<PPB_Audio_Proxy, | 76 pp::CompletionCallbackFactory<PPB_Audio_Proxy, |
| 81 ProxyNonThreadSafeRefCount> callback_factory_; | 77 ProxyNonThreadSafeRefCount> callback_factory_; |
| 82 | 78 |
| 83 DISALLOW_COPY_AND_ASSIGN(PPB_Audio_Proxy); | 79 DISALLOW_COPY_AND_ASSIGN(PPB_Audio_Proxy); |
| 84 }; | 80 }; |
| 85 | 81 |
| 86 } // namespace proxy | 82 } // namespace proxy |
| 87 } // namespace ppapi | 83 } // namespace ppapi |
| 88 | 84 |
| 89 #endif // PPAPI_PROXY_PPB_AUDIO_PROXY_H_ | 85 #endif // PPAPI_PROXY_PPB_AUDIO_PROXY_H_ |
| OLD | NEW |