| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client 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 "native_client/src/shared/ppapi_proxy/browser_callback.h" | 5 #include "native_client/src/shared/ppapi_proxy/browser_callback.h" |
| 6 | 6 |
| 7 #include <new> | 7 #include <new> |
| 8 | 8 |
| 9 #include "native_client/src/include/nacl_macros.h" | 9 #include "native_client/src/include/nacl_macros.h" |
| 10 #include "native_client/src/include/nacl_scoped_ptr.h" | 10 #include "native_client/src/include/nacl_scoped_ptr.h" |
| 11 #include "native_client/src/shared/platform/nacl_check.h" | 11 #include "native_client/src/shared/platform/nacl_check.h" |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 return MakeRemoteCompletionCallback(srpc_channel, callback_id, 0, NULL); | 143 return MakeRemoteCompletionCallback(srpc_channel, callback_id, 0, NULL); |
| 144 } | 144 } |
| 145 | 145 |
| 146 void DeleteRemoteCallbackInfo(struct PP_CompletionCallback callback) { | 146 void DeleteRemoteCallbackInfo(struct PP_CompletionCallback callback) { |
| 147 nacl::scoped_ptr<RemoteCallbackInfo> remote_callback( | 147 nacl::scoped_ptr<RemoteCallbackInfo> remote_callback( |
| 148 reinterpret_cast<RemoteCallbackInfo*>(callback.user_data)); | 148 reinterpret_cast<RemoteCallbackInfo*>(callback.user_data)); |
| 149 nacl::scoped_array<char> read_buffer(remote_callback->read_buffer); | 149 nacl::scoped_array<char> read_buffer(remote_callback->read_buffer); |
| 150 } | 150 } |
| 151 | 151 |
| 152 } // namespace ppapi_proxy | 152 } // namespace ppapi_proxy |
| OLD | NEW |