| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
| 6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1134 | 1134 |
| 1135 template <> | 1135 template <> |
| 1136 struct ParamTraits<ViewHostMsg_DomMessage_Params> { | 1136 struct ParamTraits<ViewHostMsg_DomMessage_Params> { |
| 1137 typedef ViewHostMsg_DomMessage_Params param_type; | 1137 typedef ViewHostMsg_DomMessage_Params param_type; |
| 1138 static void Write(Message* m, const param_type& p); | 1138 static void Write(Message* m, const param_type& p); |
| 1139 static bool Read(const Message* m, void** iter, param_type* p); | 1139 static bool Read(const Message* m, void** iter, param_type* p); |
| 1140 static void Log(const param_type& p, std::string* l); | 1140 static void Log(const param_type& p, std::string* l); |
| 1141 }; | 1141 }; |
| 1142 | 1142 |
| 1143 template <> | 1143 template <> |
| 1144 struct ParamTraits<base::FileUtilProxy::Entry> { | 1144 struct ParamTraits<base::FileUtilProxyBase::Entry> { |
| 1145 typedef base::FileUtilProxy::Entry param_type; | 1145 typedef base::FileUtilProxyBase::Entry param_type; |
| 1146 static void Write(Message* m, const param_type& p); | 1146 static void Write(Message* m, const param_type& p); |
| 1147 static bool Read(const Message* m, void** iter, param_type* p); | 1147 static bool Read(const Message* m, void** iter, param_type* p); |
| 1148 static void Log(const param_type& p, std::string* l); | 1148 static void Log(const param_type& p, std::string* l); |
| 1149 }; | 1149 }; |
| 1150 | 1150 |
| 1151 template <> | 1151 template <> |
| 1152 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { | 1152 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { |
| 1153 typedef ViewHostMsg_AccessibilityNotification_Params param_type; | 1153 typedef ViewHostMsg_AccessibilityNotification_Params param_type; |
| 1154 static void Write(Message* m, const param_type& p); | 1154 static void Write(Message* m, const param_type& p); |
| 1155 static bool Read(const Message* m, void** iter, param_type* p); | 1155 static bool Read(const Message* m, void** iter, param_type* p); |
| 1156 static void Log(const param_type& p, std::string* l); | 1156 static void Log(const param_type& p, std::string* l); |
| 1157 }; | 1157 }; |
| 1158 | 1158 |
| 1159 } // namespace IPC | 1159 } // namespace IPC |
| 1160 | 1160 |
| 1161 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 1161 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
| OLD | NEW |