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/indexed_db_param_traits.h" | 5 #include "content/common/indexed_db_param_traits.h" |
6 | 6 |
7 #include "chrome/common/indexed_db_key.h" | 7 #include "content/common/indexed_db_key.h" |
8 #include "chrome/common/serialized_script_value.h" | 8 #include "content/common/serialized_script_value.h" |
9 #include "ipc/ipc_message_utils.h" | 9 #include "ipc/ipc_message_utils.h" |
10 | 10 |
11 namespace IPC { | 11 namespace IPC { |
12 | 12 |
13 void ParamTraits<SerializedScriptValue>::Write(Message* m, | 13 void ParamTraits<SerializedScriptValue>::Write(Message* m, |
14 const param_type& p) { | 14 const param_type& p) { |
15 WriteParam(m, p.is_null()); | 15 WriteParam(m, p.is_null()); |
16 WriteParam(m, p.is_invalid()); | 16 WriteParam(m, p.is_invalid()); |
17 WriteParam(m, p.data()); | 17 WriteParam(m, p.data()); |
18 } | 18 } |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 l->append(", "); | 96 l->append(", "); |
97 LogParam(p.string(), l); | 97 LogParam(p.string(), l); |
98 l->append(", "); | 98 l->append(", "); |
99 LogParam(p.date(), l); | 99 LogParam(p.date(), l); |
100 l->append(", "); | 100 l->append(", "); |
101 LogParam(p.number(), l); | 101 LogParam(p.number(), l); |
102 l->append(")"); | 102 l->append(")"); |
103 } | 103 } |
104 | 104 |
105 } // namespace IPC | 105 } // namespace IPC |
OLD | NEW |