| 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/plugin_ppb_memory.h" | 5 #include "native_client/src/shared/ppapi_proxy/plugin_ppb_memory.h" |
| 6 | 6 |
| 7 #include <cstdlib> | 7 #include <cstdlib> |
| 8 | 8 |
| 9 #include "native_client/src/include/portability.h" | 9 #include "native_client/src/include/portability.h" |
| 10 #include "native_client/src/shared/ppapi_proxy/utility.h" | 10 #include "native_client/src/shared/ppapi_proxy/utility.h" |
| 11 #include "ppapi/c/dev/ppb_memory_dev.h" | 11 #include "ppapi/c/dev/ppb_memory_dev.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 const PPB_Memory_Dev* PluginMemory::GetInterface() { | 29 const PPB_Memory_Dev* PluginMemory::GetInterface() { |
| 30 static const PPB_Memory_Dev memory_interface = { | 30 static const PPB_Memory_Dev memory_interface = { |
| 31 MemAlloc, | 31 MemAlloc, |
| 32 MemFree | 32 MemFree |
| 33 }; | 33 }; |
| 34 return &memory_interface; | 34 return &memory_interface; |
| 35 } | 35 } |
| 36 | 36 |
| 37 } // namespace ppapi_proxy | 37 } // namespace ppapi_proxy |
| OLD | NEW |