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 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "build/build_config.h" |
16 #include "ipc/ipc_message.h" | 17 #include "ipc/ipc_message.h" |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class WaitableEvent; | 20 class WaitableEvent; |
20 } | 21 } |
21 | 22 |
22 namespace IPC { | 23 namespace IPC { |
23 | 24 |
24 class MessageReplyDeserializer; | 25 class MessageReplyDeserializer; |
25 | 26 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 : id(id), deserializer(d), done_event(e), send_result(false) { } | 107 : id(id), deserializer(d), done_event(e), send_result(false) { } |
107 int id; | 108 int id; |
108 MessageReplyDeserializer* deserializer; | 109 MessageReplyDeserializer* deserializer; |
109 base::WaitableEvent* done_event; | 110 base::WaitableEvent* done_event; |
110 bool send_result; | 111 bool send_result; |
111 }; | 112 }; |
112 | 113 |
113 } // namespace IPC | 114 } // namespace IPC |
114 | 115 |
115 #endif // IPC_IPC_SYNC_MESSAGE_H_ | 116 #endif // IPC_IPC_SYNC_MESSAGE_H_ |
OLD | NEW |