| 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 CONTENT_COMMON_INDEXED_DB_PARAM_TRAITS_H_ |
| 6 #define CHROME_COMMON_INDEXED_DB_PARAM_TRAITS_H_ | 6 #define CONTENT_COMMON_INDEXED_DB_PARAM_TRAITS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ipc/ipc_message.h" | 9 #include "ipc/ipc_message.h" |
| 10 #include "ipc/ipc_param_traits.h" | 10 #include "ipc/ipc_param_traits.h" |
| 11 | 11 |
| 12 class IndexedDBKey; | 12 class IndexedDBKey; |
| 13 class SerializedScriptValue; | 13 class SerializedScriptValue; |
| 14 | 14 |
| 15 namespace IPC { | 15 namespace IPC { |
| 16 | 16 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 30 template <> | 30 template <> |
| 31 struct ParamTraits<IndexedDBKey> { | 31 struct ParamTraits<IndexedDBKey> { |
| 32 typedef IndexedDBKey param_type; | 32 typedef IndexedDBKey param_type; |
| 33 static void Write(Message* m, const param_type& p); | 33 static void Write(Message* m, const param_type& p); |
| 34 static bool Read(const Message* m, void** iter, param_type* r); | 34 static bool Read(const Message* m, void** iter, param_type* r); |
| 35 static void Log(const param_type& p, std::string* l); | 35 static void Log(const param_type& p, std::string* l); |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 } // namespace IPC | 38 } // namespace IPC |
| 39 | 39 |
| 40 #endif // CHROME_COMMON_INDEXED_DB_PARAM_TRAITS_H_ | 40 #endif // CONTENT_COMMON_INDEXED_DB_PARAM_TRAITS_H_ |
| OLD | NEW |