| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 PPAPI_PROXY_PPB_BUFFER_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_BUFFER_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_BUFFER_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_BUFFER_PROXY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 #include "base/macros.h" |
| 8 #include "base/memory/shared_memory.h" | 11 #include "base/memory/shared_memory.h" |
| 9 #include "ppapi/c/pp_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
| 10 #include "ppapi/proxy/interface_proxy.h" | 13 #include "ppapi/proxy/interface_proxy.h" |
| 11 #include "ppapi/shared_impl/resource.h" | 14 #include "ppapi/shared_impl/resource.h" |
| 12 #include "ppapi/thunk/ppb_buffer_api.h" | 15 #include "ppapi/thunk/ppb_buffer_api.h" |
| 13 | 16 |
| 14 namespace ppapi { | 17 namespace ppapi { |
| 15 | 18 |
| 16 class HostResource; | 19 class HostResource; |
| 17 | 20 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 void OnMsgCreate(PP_Instance instance, | 70 void OnMsgCreate(PP_Instance instance, |
| 68 uint32_t size, | 71 uint32_t size, |
| 69 HostResource* result_resource, | 72 HostResource* result_resource, |
| 70 ppapi::proxy::SerializedHandle* result_shm_handle); | 73 ppapi::proxy::SerializedHandle* result_shm_handle); |
| 71 }; | 74 }; |
| 72 | 75 |
| 73 } // namespace proxy | 76 } // namespace proxy |
| 74 } // namespace ppapi | 77 } // namespace ppapi |
| 75 | 78 |
| 76 #endif // PPAPI_PROXY_PPB_BUFFER_PROXY_H_ | 79 #endif // PPAPI_PROXY_PPB_BUFFER_PROXY_H_ |
| OLD | NEW |