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 #include "ppapi/proxy/ppb_audio_proxy.h" | 5 #include "ppapi/proxy/ppb_audio_proxy.h" |
6 | 6 |
7 #include "base/simple_thread.h" | 7 #include "base/threading/simple_thread.h" |
8 #include "ppapi/c/dev/ppb_audio_dev.h" | 8 #include "ppapi/c/dev/ppb_audio_dev.h" |
9 #include "ppapi/c/dev/ppb_audio_trusted_dev.h" | 9 #include "ppapi/c/dev/ppb_audio_trusted_dev.h" |
10 #include "ppapi/c/pp_errors.h" | 10 #include "ppapi/c/pp_errors.h" |
11 #include "ppapi/proxy/interface_id.h" | 11 #include "ppapi/proxy/interface_id.h" |
12 #include "ppapi/proxy/plugin_dispatcher.h" | 12 #include "ppapi/proxy/plugin_dispatcher.h" |
13 #include "ppapi/proxy/plugin_resource.h" | 13 #include "ppapi/proxy/plugin_resource.h" |
14 #include "ppapi/proxy/ppapi_messages.h" | 14 #include "ppapi/proxy/ppapi_messages.h" |
15 #include "ppapi/shared_impl/audio_impl.h" | 15 #include "ppapi/shared_impl/audio_impl.h" |
16 | 16 |
17 namespace pp { | 17 namespace pp { |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 // close the source handle. | 278 // close the source handle. |
279 if (!shared_memory.GiveToProcess(dispatcher()->remote_process_handle(), | 279 if (!shared_memory.GiveToProcess(dispatcher()->remote_process_handle(), |
280 foreign_shared_memory_handle)) | 280 foreign_shared_memory_handle)) |
281 return PP_ERROR_FAILED; | 281 return PP_ERROR_FAILED; |
282 | 282 |
283 return PP_OK; | 283 return PP_OK; |
284 } | 284 } |
285 | 285 |
286 } // namespace proxy | 286 } // namespace proxy |
287 } // namespace pp | 287 } // namespace pp |
OLD | NEW |