OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "ppapi/proxy/handle_converter.h" | 5 #include "ppapi/proxy/handle_converter.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
| 8 #include "base/bind.h" |
8 #include "ipc/ipc_message.h" | 9 #include "ipc/ipc_message.h" |
9 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
10 #include "ppapi/proxy/ppapi_messages.h" | 11 #include "ppapi/proxy/ppapi_messages.h" |
11 #include "ppapi/proxy/resource_message_params.h" | 12 #include "ppapi/proxy/resource_message_params.h" |
12 #include "ppapi/proxy/serialized_handle.h" | 13 #include "ppapi/proxy/serialized_handle.h" |
13 #include "ppapi/proxy/serialized_var.h" | 14 #include "ppapi/proxy/serialized_var.h" |
14 | 15 |
15 class NaClDescImcShm; | 16 class NaClDescImcShm; |
16 | 17 |
17 namespace IPC { | 18 namespace IPC { |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 DCHECK(msg.is_sync()); | 276 DCHECK(msg.is_sync()); |
276 | 277 |
277 int msg_id = IPC::SyncMessage::GetMessageId(msg); | 278 int msg_id = IPC::SyncMessage::GetMessageId(msg); |
278 DCHECK(pending_sync_msgs_.find(msg_id) == pending_sync_msgs_.end()); | 279 DCHECK(pending_sync_msgs_.find(msg_id) == pending_sync_msgs_.end()); |
279 | 280 |
280 pending_sync_msgs_[msg_id] = msg.type(); | 281 pending_sync_msgs_[msg_id] = msg.type(); |
281 } | 282 } |
282 | 283 |
283 } // namespace proxy | 284 } // namespace proxy |
284 } // namespace ppapi | 285 } // namespace ppapi |
OLD | NEW |