Index: content/common/indexed_db/indexed_db_param_traits.h |
diff --git a/content/common/indexed_db/indexed_db_param_traits.h b/content/common/indexed_db/indexed_db_param_traits.h |
index 0e151b25fd780ad3200b6d753d9b4d2714ad9b57..913070c07713fbb156a5ac3f9d52f29f4e303b8f 100644 |
--- a/content/common/indexed_db/indexed_db_param_traits.h |
+++ b/content/common/indexed_db/indexed_db_param_traits.h |
@@ -10,9 +10,12 @@ |
#include "ipc/ipc_param_traits.h" |
namespace content { |
+class IndexedDBDatabaseMetadata; |
+class IndexedDBIndexMetadata; |
class IndexedDBKey; |
class IndexedDBKeyPath; |
class IndexedDBKeyRange; |
+class IndexedDBObjectStoreMetadata; |
class SerializedScriptValue; |
} |
@@ -55,6 +58,30 @@ struct ParamTraits<content::IndexedDBKeyPath> { |
static void Log(const param_type& p, std::string* l); |
}; |
+template <> |
+struct ParamTraits<content::IndexedDBDatabaseMetadata> { |
+ typedef content::IndexedDBDatabaseMetadata param_type; |
+ static void Write(Message* m, const param_type& p); |
+ static bool Read(const Message* m, PickleIterator* iter, param_type* r); |
+ static void Log(const param_type& p, std::string* l); |
+}; |
+ |
+template <> |
+struct ParamTraits<content::IndexedDBObjectStoreMetadata> { |
+ typedef content::IndexedDBObjectStoreMetadata param_type; |
+ static void Write(Message* m, const param_type& p); |
+ static bool Read(const Message* m, PickleIterator* iter, param_type* r); |
+ static void Log(const param_type& p, std::string* l); |
+}; |
+ |
+template <> |
+struct ParamTraits<content::IndexedDBIndexMetadata> { |
+ typedef content::IndexedDBIndexMetadata param_type; |
+ static void Write(Message* m, const param_type& p); |
+ static bool Read(const Message* m, PickleIterator* iter, param_type* r); |
+ static void Log(const param_type& p, std::string* l); |
+}; |
+ |
} // namespace IPC |
#endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_PARAM_TRAITS_H_ |