| 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 #include "ppapi/proxy/ppb_audio_input_proxy.h" | 5 #include "ppapi/proxy/ppb_audio_input_proxy.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "base/threading/simple_thread.h" | 8 #include "base/threading/simple_thread.h" |
| 9 #include "ppapi/c/dev/ppb_audio_input_dev.h" | 9 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
| 10 #include "ppapi/c/pp_errors.h" | 10 #include "ppapi/c/pp_errors.h" |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 *foreign_shared_memory_handle = dispatcher()->ShareHandleWithRemote( | 325 *foreign_shared_memory_handle = dispatcher()->ShareHandleWithRemote( |
| 326 IntToPlatformFile(shared_memory_handle), false); | 326 IntToPlatformFile(shared_memory_handle), false); |
| 327 if (*foreign_shared_memory_handle == IPC::InvalidPlatformFileForTransit()) | 327 if (*foreign_shared_memory_handle == IPC::InvalidPlatformFileForTransit()) |
| 328 return PP_ERROR_FAILED; | 328 return PP_ERROR_FAILED; |
| 329 | 329 |
| 330 return PP_OK; | 330 return PP_OK; |
| 331 } | 331 } |
| 332 | 332 |
| 333 } // namespace proxy | 333 } // namespace proxy |
| 334 } // namespace ppapi | 334 } // namespace ppapi |
| OLD | NEW |