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 311234222a39bca5c2f395468a904ccc1e15e33b..18ad95689784d437dd8d6cbc7b1315922fc87ab7 100644 |
--- a/content/common/indexed_db/indexed_db_param_traits.h |
+++ b/content/common/indexed_db/indexed_db_param_traits.h |
@@ -10,6 +10,7 @@ |
#include "ipc/ipc_param_traits.h" |
class IndexedDBKey; |
+class IndexedDBKeyRange; |
namespace content { |
class SerializedScriptValue; |
@@ -38,6 +39,14 @@ struct ParamTraits<IndexedDBKey> { |
static void Log(const param_type& p, std::string* l); |
}; |
+template <> |
+struct ParamTraits<IndexedDBKeyRange> { |
+ typedef IndexedDBKeyRange param_type; |
+ static void Write(Message* m, const param_type& p); |
+ static bool Read(const Message* m, void** 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_ |