| 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 #include "chrome/common/render_messages_params.h" | 5 #include "chrome/common/render_messages_params.h" |
| 6 | 6 |
| 7 #include "chrome/common/navigation_gesture.h" | 7 #include "chrome/common/navigation_gesture.h" |
| 8 #include "chrome/common/common_param_traits.h" | 8 #include "chrome/common/common_param_traits.h" |
| 9 #include "chrome/common/extensions/extension_constants.h" | 9 #include "chrome/common/extensions/extension_constants.h" |
| 10 #include "chrome/common/render_messages.h" | 10 #include "chrome/common/render_messages.h" |
| (...skipping 1579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1590 LogParam(p.source_url, l); | 1590 LogParam(p.source_url, l); |
| 1591 l->append(", "); | 1591 l->append(", "); |
| 1592 LogParam(p.request_id, l); | 1592 LogParam(p.request_id, l); |
| 1593 l->append(", "); | 1593 l->append(", "); |
| 1594 LogParam(p.has_callback, l); | 1594 LogParam(p.has_callback, l); |
| 1595 l->append(", "); | 1595 l->append(", "); |
| 1596 LogParam(p.user_gesture, l); | 1596 LogParam(p.user_gesture, l); |
| 1597 l->append(")"); | 1597 l->append(")"); |
| 1598 } | 1598 } |
| 1599 | 1599 |
| 1600 void ParamTraits<base::FileUtilProxy::Entry>::Write( | 1600 void ParamTraits<base::FileUtilProxyBase::Entry>::Write( |
| 1601 Message* m, | 1601 Message* m, |
| 1602 const param_type& p) { | 1602 const param_type& p) { |
| 1603 WriteParam(m, p.name); | 1603 WriteParam(m, p.name); |
| 1604 WriteParam(m, p.is_directory); | 1604 WriteParam(m, p.is_directory); |
| 1605 } | 1605 } |
| 1606 | 1606 |
| 1607 bool ParamTraits<base::FileUtilProxy::Entry>::Read( | 1607 bool ParamTraits<base::FileUtilProxyBase::Entry>::Read( |
| 1608 const Message* m, | 1608 const Message* m, |
| 1609 void** iter, | 1609 void** iter, |
| 1610 param_type* p) { | 1610 param_type* p) { |
| 1611 return | 1611 return |
| 1612 ReadParam(m, iter, &p->name) && | 1612 ReadParam(m, iter, &p->name) && |
| 1613 ReadParam(m, iter, &p->is_directory); | 1613 ReadParam(m, iter, &p->is_directory); |
| 1614 } | 1614 } |
| 1615 | 1615 |
| 1616 void ParamTraits<base::FileUtilProxy::Entry>::Log( | 1616 void ParamTraits<base::FileUtilProxyBase::Entry>::Log( |
| 1617 const param_type& p, | 1617 const param_type& p, |
| 1618 std::string* l) { | 1618 std::string* l) { |
| 1619 l->append("("); | 1619 l->append("("); |
| 1620 LogParam(p.name, l); | 1620 LogParam(p.name, l); |
| 1621 l->append(", "); | 1621 l->append(", "); |
| 1622 LogParam(p.is_directory, l); | 1622 LogParam(p.is_directory, l); |
| 1623 l->append(")"); | 1623 l->append(")"); |
| 1624 } | 1624 } |
| 1625 | 1625 |
| 1626 void ParamTraits<ViewHostMsg_AccessibilityNotification_Params>::Write( | 1626 void ParamTraits<ViewHostMsg_AccessibilityNotification_Params>::Write( |
| (...skipping 16 matching lines...) Expand all Loading... |
| 1643 const param_type& p, | 1643 const param_type& p, |
| 1644 std::string* l) { | 1644 std::string* l) { |
| 1645 l->append("("); | 1645 l->append("("); |
| 1646 LogParam(p.notification_type, l); | 1646 LogParam(p.notification_type, l); |
| 1647 l->append(", "); | 1647 l->append(", "); |
| 1648 LogParam(p.acc_obj, l); | 1648 LogParam(p.acc_obj, l); |
| 1649 l->append(")"); | 1649 l->append(")"); |
| 1650 } | 1650 } |
| 1651 | 1651 |
| 1652 } // namespace IPC | 1652 } // namespace IPC |
| OLD | NEW |