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_MESSAGE_UTILS_H_ | 5 #ifndef IPC_IPC_MESSAGE_UTILS_H_ |
6 #define IPC_IPC_MESSAGE_UTILS_H_ | 6 #define IPC_IPC_MESSAGE_UTILS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <map> | 10 #include <map> |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 MediaStreamMsgStart, | 96 MediaStreamMsgStart, |
97 ChromeBenchmarkingMsgStart, | 97 ChromeBenchmarkingMsgStart, |
98 IntentsMsgStart, | 98 IntentsMsgStart, |
99 JavaBridgeMsgStart, | 99 JavaBridgeMsgStart, |
100 GamepadMsgStart, | 100 GamepadMsgStart, |
101 ShellMsgStart, | 101 ShellMsgStart, |
102 AccessibilityMsgStart, | 102 AccessibilityMsgStart, |
103 PrerenderMsgStart, | 103 PrerenderMsgStart, |
104 ChromotingMsgStart, | 104 ChromotingMsgStart, |
105 BrowserPluginMsgStart, | 105 BrowserPluginMsgStart, |
| 106 BatteryStatusMsgStart, |
106 LastIPCMsgStart // Must come last. | 107 LastIPCMsgStart // Must come last. |
107 }; | 108 }; |
108 | 109 |
109 class FilePath; | 110 class FilePath; |
110 class NullableString16; | 111 class NullableString16; |
111 | 112 |
112 namespace base { | 113 namespace base { |
113 class DictionaryValue; | 114 class DictionaryValue; |
114 class ListValue; | 115 class ListValue; |
115 class Time; | 116 class Time; |
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
903 template<typename TA, typename TB, typename TC, typename TD, typename TE> | 904 template<typename TA, typename TB, typename TC, typename TD, typename TE> |
904 static void WriteReplyParams(Message* reply, TA a, TB b, TC c, TD d, TE e) { | 905 static void WriteReplyParams(Message* reply, TA a, TB b, TC c, TD d, TE e) { |
905 ReplyParam p(a, b, c, d, e); | 906 ReplyParam p(a, b, c, d, e); |
906 WriteParam(reply, p); | 907 WriteParam(reply, p); |
907 } | 908 } |
908 }; | 909 }; |
909 | 910 |
910 } // namespace IPC | 911 } // namespace IPC |
911 | 912 |
912 #endif // IPC_IPC_MESSAGE_UTILS_H_ | 913 #endif // IPC_IPC_MESSAGE_UTILS_H_ |
OLD | NEW |