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 | 7 |
8 #include <algorithm> | 8 #include <algorithm> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 OldBrowserPluginMsgStart, | 105 OldBrowserPluginMsgStart, |
106 BrowserPluginMsgStart, | 106 BrowserPluginMsgStart, |
107 HyphenatorMsgStart, | 107 HyphenatorMsgStart, |
108 AndroidWebViewMsgStart, | 108 AndroidWebViewMsgStart, |
| 109 ViewerMsgStart, |
109 LastIPCMsgStart // Must come last. | 110 LastIPCMsgStart // Must come last. |
110 }; | 111 }; |
111 | 112 |
112 class FilePath; | 113 class FilePath; |
113 class NullableString16; | 114 class NullableString16; |
114 | 115 |
115 namespace base { | 116 namespace base { |
116 class DictionaryValue; | 117 class DictionaryValue; |
117 class ListValue; | 118 class ListValue; |
118 class Time; | 119 class Time; |
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 template<typename TA, typename TB, typename TC, typename TD, typename TE> | 907 template<typename TA, typename TB, typename TC, typename TD, typename TE> |
907 static void WriteReplyParams(Message* reply, TA a, TB b, TC c, TD d, TE e) { | 908 static void WriteReplyParams(Message* reply, TA a, TB b, TC c, TD d, TE e) { |
908 ReplyParam p(a, b, c, d, e); | 909 ReplyParam p(a, b, c, d, e); |
909 WriteParam(reply, p); | 910 WriteParam(reply, p); |
910 } | 911 } |
911 }; | 912 }; |
912 | 913 |
913 } // namespace IPC | 914 } // namespace IPC |
914 | 915 |
915 #endif // IPC_IPC_MESSAGE_UTILS_H_ | 916 #endif // IPC_IPC_MESSAGE_UTILS_H_ |
OLD | NEW |