Index: content/common/common_param_traits.h |
=================================================================== |
--- content/common/common_param_traits.h (revision 83945) |
+++ content/common/common_param_traits.h (working copy) |
@@ -16,6 +16,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/platform_file.h" |
+#include "content/common/dom_storage_common.h" |
#include "googleurl/src/gurl.h" |
#include "ipc/ipc_message_utils.h" |
#include "net/base/ip_endpoint.h" |
@@ -109,11 +110,6 @@ |
}; |
template <> |
-struct SimilarTypeTraits<base::PlatformFileError> { |
- typedef int Type; |
-}; |
- |
-template <> |
struct ParamTraits<gfx::Point> { |
typedef gfx::Point param_type; |
static void Write(Message* m, const param_type& p); |
@@ -229,6 +225,16 @@ |
static void Log(const param_type& p, std::string* l); |
}; |
+template <> |
+struct SimilarTypeTraits<base::PlatformFileError> { |
+ typedef int Type; |
+}; |
+ |
+template <> |
+struct SimilarTypeTraits<DOMStorageType> { |
+ typedef int Type; |
+}; |
+ |
} // namespace IPC |
#endif // CONTENT_COMMON_COMMON_PARAM_TRAITS_H_ |