| 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/tests/ppapi_test_lib/test_interface.h" | 5 #include "native_client/tests/ppapi_test_lib/test_interface.h" |
| 6 | 6 |
| 7 #include <string.h> | 7 #include <string.h> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <new> | 9 #include <new> |
| 10 | 10 |
| 11 #include "native_client/src/include/nacl_macros.h" | 11 #include "native_client/src/include/nacl_macros.h" |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 PP_MakeOptionalCompletionCallback(func, user_data); | 145 PP_MakeOptionalCompletionCallback(func, user_data); |
| 146 | 146 |
| 147 return PP_MakeOptionalCompletionCallback(CallbackWrapper, callback_info); | 147 return PP_MakeOptionalCompletionCallback(CallbackWrapper, callback_info); |
| 148 } | 148 } |
| 149 | 149 |
| 150 PP_CompletionCallback MakeTestableCompletionCallback( | 150 PP_CompletionCallback MakeTestableCompletionCallback( |
| 151 const char* callback_name, // Tested for by JS harness. | 151 const char* callback_name, // Tested for by JS harness. |
| 152 PP_CompletionCallback_Func func) { | 152 PP_CompletionCallback_Func func) { |
| 153 return MakeTestableCompletionCallback(callback_name, func, NULL); | 153 return MakeTestableCompletionCallback(callback_name, func, NULL); |
| 154 } | 154 } |
| OLD | NEW |