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 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 | 1308 |
1309 template <> | 1309 template <> |
1310 struct ParamTraits<ViewHostMsg_DomMessage_Params> { | 1310 struct ParamTraits<ViewHostMsg_DomMessage_Params> { |
1311 typedef ViewHostMsg_DomMessage_Params param_type; | 1311 typedef ViewHostMsg_DomMessage_Params param_type; |
1312 static void Write(Message* m, const param_type& p); | 1312 static void Write(Message* m, const param_type& p); |
1313 static bool Read(const Message* m, void** iter, param_type* p); | 1313 static bool Read(const Message* m, void** iter, param_type* p); |
1314 static void Log(const param_type& p, std::string* l); | 1314 static void Log(const param_type& p, std::string* l); |
1315 }; | 1315 }; |
1316 | 1316 |
1317 template <> | 1317 template <> |
1318 struct ParamTraits<base::file_util_proxy::Entry> { | 1318 struct ParamTraits<base::FileUtilProxy::Entry> { |
1319 typedef base::file_util_proxy::Entry param_type; | 1319 typedef base::FileUtilProxy::Entry param_type; |
1320 static void Write(Message* m, const param_type& p); | 1320 static void Write(Message* m, const param_type& p); |
1321 static bool Read(const Message* m, void** iter, param_type* p); | 1321 static bool Read(const Message* m, void** iter, param_type* p); |
1322 static void Log(const param_type& p, std::string* l); | 1322 static void Log(const param_type& p, std::string* l); |
1323 }; | 1323 }; |
1324 | 1324 |
1325 template <> | 1325 template <> |
1326 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { | 1326 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { |
1327 typedef ViewHostMsg_AccessibilityNotification_Params param_type; | 1327 typedef ViewHostMsg_AccessibilityNotification_Params param_type; |
1328 static void Write(Message* m, const param_type& p); | 1328 static void Write(Message* m, const param_type& p); |
1329 static bool Read(const Message* m, void** iter, param_type* p); | 1329 static bool Read(const Message* m, void** iter, param_type* p); |
1330 static void Log(const param_type& p, std::string* l); | 1330 static void Log(const param_type& p, std::string* l); |
1331 }; | 1331 }; |
1332 | 1332 |
1333 } // namespace IPC | 1333 } // namespace IPC |
1334 | 1334 |
1335 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 1335 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
OLD | NEW |