| 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_INDEXED_DB_PARAM_TRAITS_H_ | 5 #ifndef CHROME_COMMON_INDEXED_DB_PARAM_TRAITS_H_ |
| 6 #define CHROME_COMMON_INDEXED_DB_PARAM_TRAITS_H_ | 6 #define CHROME_COMMON_INDEXED_DB_PARAM_TRAITS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/common/indexed_db_key.h" | 9 #include "chrome/common/indexed_db_key.h" |
| 10 #include "chrome/common/serialized_script_value.h" | 10 #include "chrome/common/serialized_script_value.h" |
| 11 #include "ipc/ipc_param_traits.h" |
| 11 | 12 |
| 12 namespace IPC { | 13 namespace IPC { |
| 13 | 14 |
| 14 // These datatypes are used by utility_messages.h and render_messages.h. | 15 // These datatypes are used by utility_messages.h and render_messages.h. |
| 15 // Unfortunately we can't move it to common: MSVC linker complains about | 16 // Unfortunately we can't move it to common: MSVC linker complains about |
| 16 // WebKit datatypes that are not linked on npchrome_frame (even though it's | 17 // WebKit datatypes that are not linked on npchrome_frame (even though it's |
| 17 // never actually used by that target). | 18 // never actually used by that target). |
| 18 | 19 |
| 19 template <> | 20 template <> |
| 20 struct ParamTraits<SerializedScriptValue> { | 21 struct ParamTraits<SerializedScriptValue> { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 LogParam(p.string(), l); | 94 LogParam(p.string(), l); |
| 94 l->append(", "); | 95 l->append(", "); |
| 95 LogParam(p.number(), l); | 96 LogParam(p.number(), l); |
| 96 l->append(")"); | 97 l->append(")"); |
| 97 } | 98 } |
| 98 }; | 99 }; |
| 99 | 100 |
| 100 } // namespace IPC | 101 } // namespace IPC |
| 101 | 102 |
| 102 #endif // CHROME_COMMON_INDEXED_DB_PARAM_TRAITS_H_ | 103 #endif // CHROME_COMMON_INDEXED_DB_PARAM_TRAITS_H_ |
| OLD | NEW |