| 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 IPC_IPC_SYNC_MESSAGE_H_ | 5 #ifndef IPC_IPC_SYNC_MESSAGE_H_ |
| 6 #define IPC_IPC_SYNC_MESSAGE_H_ | 6 #define IPC_IPC_SYNC_MESSAGE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
| 10 #include <windows.h> | 10 #include <windows.h> |
| 11 #endif | 11 #endif |
| 12 |
| 12 #include <string> | 13 #include <string> |
| 13 #include "base/basictypes.h" | 14 |
| 14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 15 #include "ipc/ipc_message.h" | 16 #include "ipc/ipc_message.h" |
| 16 | 17 |
| 17 namespace base { | 18 namespace base { |
| 18 class WaitableEvent; | 19 class WaitableEvent; |
| 19 } | 20 } |
| 20 | 21 |
| 21 namespace IPC { | 22 namespace IPC { |
| 22 | 23 |
| 23 class MessageReplyDeserializer; | 24 class MessageReplyDeserializer; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 : id(id), deserializer(d), done_event(e), send_result(false) { } | 106 : id(id), deserializer(d), done_event(e), send_result(false) { } |
| 106 int id; | 107 int id; |
| 107 MessageReplyDeserializer* deserializer; | 108 MessageReplyDeserializer* deserializer; |
| 108 base::WaitableEvent* done_event; | 109 base::WaitableEvent* done_event; |
| 109 bool send_result; | 110 bool send_result; |
| 110 }; | 111 }; |
| 111 | 112 |
| 112 } // namespace IPC | 113 } // namespace IPC |
| 113 | 114 |
| 114 #endif // IPC_IPC_SYNC_MESSAGE_H_ | 115 #endif // IPC_IPC_SYNC_MESSAGE_H_ |
| OLD | NEW |