| 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_PLUGIN_RESOURCE_H_ | 5 #ifndef PPAPI_PROXY_PLUGIN_RESOURCE_H_ |
| 6 #define PPAPI_PROXY_PLUGIN_RESOURCE_H_ | 6 #define PPAPI_PROXY_PLUGIN_RESOURCE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 | 11 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 13 #include "ipc/ipc_message.h" | 15 #include "ipc/ipc_message.h" |
| 14 #include "ipc/ipc_sender.h" | 16 #include "ipc/ipc_sender.h" |
| 15 #include "ppapi/c/pp_errors.h" | 17 #include "ppapi/c/pp_errors.h" |
| 16 #include "ppapi/proxy/connection.h" | 18 #include "ppapi/proxy/connection.h" |
| 17 #include "ppapi/proxy/plugin_resource_callback.h" | 19 #include "ppapi/proxy/plugin_resource_callback.h" |
| 18 #include "ppapi/proxy/ppapi_message_utils.h" | 20 #include "ppapi/proxy/ppapi_message_utils.h" |
| 19 #include "ppapi/proxy/ppapi_proxy_export.h" | 21 #include "ppapi/proxy/ppapi_proxy_export.h" |
| 20 #include "ppapi/proxy/resource_message_params.h" | 22 #include "ppapi/proxy/resource_message_params.h" |
| 21 #include "ppapi/proxy/resource_reply_thread_registrar.h" | 23 #include "ppapi/proxy/resource_reply_thread_registrar.h" |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 | 280 |
| 279 if (UnpackMessage<ReplyMsgClass>(reply, a, b, c, d, e)) | 281 if (UnpackMessage<ReplyMsgClass>(reply, a, b, c, d, e)) |
| 280 return result; | 282 return result; |
| 281 return PP_ERROR_FAILED; | 283 return PP_ERROR_FAILED; |
| 282 } | 284 } |
| 283 | 285 |
| 284 } // namespace proxy | 286 } // namespace proxy |
| 285 } // namespace ppapi | 287 } // namespace ppapi |
| 286 | 288 |
| 287 #endif // PPAPI_PROXY_PLUGIN_RESOURCE_H_ | 289 #endif // PPAPI_PROXY_PLUGIN_RESOURCE_H_ |
| OLD | NEW |