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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 AutofillMsgStart, | 72 AutofillMsgStart, |
73 SafeBrowsingMsgStart, | 73 SafeBrowsingMsgStart, |
74 P2PMsgStart, | 74 P2PMsgStart, |
75 SocketStreamMsgStart, | 75 SocketStreamMsgStart, |
76 ResourceMsgStart, | 76 ResourceMsgStart, |
77 FileSystemMsgStart, | 77 FileSystemMsgStart, |
78 ChildProcessMsgStart, | 78 ChildProcessMsgStart, |
79 ClipboardMsgStart, | 79 ClipboardMsgStart, |
80 BlobMsgStart, | 80 BlobMsgStart, |
81 AppCacheMsgStart, | 81 AppCacheMsgStart, |
| 82 DeviceMotionMsgStart, |
82 DeviceOrientationMsgStart, | 83 DeviceOrientationMsgStart, |
83 DesktopNotificationMsgStart, | 84 DesktopNotificationMsgStart, |
84 GeolocationMsgStart, | 85 GeolocationMsgStart, |
85 AudioMsgStart, | 86 AudioMsgStart, |
86 ChromeMsgStart, | 87 ChromeMsgStart, |
87 DragMsgStart, | 88 DragMsgStart, |
88 PrintMsgStart, | 89 PrintMsgStart, |
89 SpellCheckMsgStart, | 90 SpellCheckMsgStart, |
90 ExtensionMsgStart, | 91 ExtensionMsgStart, |
91 VideoCaptureMsgStart, | 92 VideoCaptureMsgStart, |
(...skipping 811 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 |