| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Multiply-included message file, no traditional include guard. | 5 // Multiply-included message file, no traditional include guard. |
| 6 #include <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 | 257 |
| 258 template <> | 258 template <> |
| 259 struct ParamTraits<AutomationMsg_NavigationResponseValues> { | 259 struct ParamTraits<AutomationMsg_NavigationResponseValues> { |
| 260 typedef AutomationMsg_NavigationResponseValues param_type; | 260 typedef AutomationMsg_NavigationResponseValues param_type; |
| 261 static void Write(Message* m, const param_type& p); | 261 static void Write(Message* m, const param_type& p); |
| 262 static bool Read(const Message* m, void** iter, param_type* p); | 262 static bool Read(const Message* m, void** iter, param_type* p); |
| 263 static void Log(const param_type& p, std::string* l); | 263 static void Log(const param_type& p, std::string* l); |
| 264 }; | 264 }; |
| 265 | 265 |
| 266 template <> | 266 template <> |
| 267 struct ParamTraits<AutomationMsg_ExtensionResponseValues> { | |
| 268 typedef AutomationMsg_ExtensionResponseValues param_type; | |
| 269 static void Write(Message* m, const param_type& p); | |
| 270 static bool Read(const Message* m, void** iter, param_type* p); | |
| 271 static void Log(const param_type& p, std::string* l); | |
| 272 }; | |
| 273 | |
| 274 template <> | |
| 275 struct ParamTraits<AutomationMsg_ExtensionProperty> { | 267 struct ParamTraits<AutomationMsg_ExtensionProperty> { |
| 276 typedef AutomationMsg_ExtensionProperty param_type; | 268 typedef AutomationMsg_ExtensionProperty param_type; |
| 277 static void Write(Message* m, const param_type& p); | 269 static void Write(Message* m, const param_type& p); |
| 278 static bool Read(const Message* m, void** iter, param_type* p); | 270 static bool Read(const Message* m, void** iter, param_type* p); |
| 279 static void Log(const param_type& p, std::string* l); | 271 static void Log(const param_type& p, std::string* l); |
| 280 }; | 272 }; |
| 281 | 273 |
| 282 template <> | 274 template <> |
| 283 struct ParamTraits<SecurityStyle> { | 275 struct ParamTraits<SecurityStyle> { |
| 284 typedef SecurityStyle param_type; | 276 typedef SecurityStyle param_type; |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 static void Log(const param_type& p, std::string* l); | 401 static void Log(const param_type& p, std::string* l); |
| 410 }; | 402 }; |
| 411 | 403 |
| 412 } // namespace IPC | 404 } // namespace IPC |
| 413 | 405 |
| 414 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H__ | 406 #endif // CHROME_COMMON_AUTOMATION_MESSAGES_H__ |
| 415 | 407 |
| 416 // Keep this internal message file unchanged to preserve line numbering | 408 // Keep this internal message file unchanged to preserve line numbering |
| 417 // (and hence the dubious __LINE__-based message numberings) across versions. | 409 // (and hence the dubious __LINE__-based message numberings) across versions. |
| 418 #include "chrome/common/automation_messages_internal.h" | 410 #include "chrome/common/automation_messages_internal.h" |
| 419 | |
| OLD | NEW |