| 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 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_MEMORY_H_ | 5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_MEMORY_H_ |
| 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_MEMORY_H_ | 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_MEMORY_H_ |
| 7 | 7 |
| 8 #include "native_client/src/include/nacl_macros.h" | 8 #include "native_client/src/include/nacl_macros.h" |
| 9 | 9 |
| 10 struct PPB_Memory_Dev; | 10 struct PPB_Memory_Dev; |
| 11 | 11 |
| 12 namespace ppapi_proxy { | 12 namespace ppapi_proxy { |
| 13 | 13 |
| 14 // Implements the plugin side of the PPB_Memory_Dev interface. | 14 // Implements the plugin side of the PPB_Memory_Dev interface. |
| 15 class PluginMemory { | 15 class PluginMemory { |
| 16 public: | 16 public: |
| 17 // Returns an interface pointer suitable to the PPAPI client. | 17 // Returns an interface pointer suitable to the PPAPI client. |
| 18 static const PPB_Memory_Dev* GetInterface(); | 18 static const PPB_Memory_Dev* GetInterface(); |
| 19 | 19 |
| 20 private: | 20 private: |
| 21 NACL_DISALLOW_COPY_AND_ASSIGN(PluginMemory); | 21 NACL_DISALLOW_COPY_AND_ASSIGN(PluginMemory); |
| 22 }; | 22 }; |
| 23 | 23 |
| 24 } // namespace ppapi_proxy | 24 } // namespace ppapi_proxy |
| 25 | 25 |
| 26 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_MEMORY_H_ | 26 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_MEMORY_H_ |
| 27 | 27 |
| OLD | NEW |