Index: extensions/common/extension_messages.h |
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h |
index cadb33f2e693d93aca4e34107774d5a347777ced..74313f65e6ae05a7da623359972aa5bbc9c4d3b2 100644 |
--- a/extensions/common/extension_messages.h |
+++ b/extensions/common/extension_messages.h |
@@ -301,64 +301,80 @@ namespace IPC { |
template <> |
struct ParamTraits<URLPattern> { |
typedef URLPattern param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, base::PickleIterator* iter, param_type* p); |
+ static void Write(base::Pickle* m, const param_type& p); |
+ static bool Read(const base::Pickle* m, |
+ base::PickleIterator* iter, |
+ param_type* p); |
static void Log(const param_type& p, std::string* l); |
}; |
template <> |
struct ParamTraits<extensions::URLPatternSet> { |
typedef extensions::URLPatternSet param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, base::PickleIterator* iter, param_type* p); |
+ static void Write(base::Pickle* m, const param_type& p); |
+ static bool Read(const base::Pickle* m, |
+ base::PickleIterator* iter, |
+ param_type* p); |
static void Log(const param_type& p, std::string* l); |
}; |
template <> |
struct ParamTraits<extensions::APIPermission::ID> { |
typedef extensions::APIPermission::ID param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, base::PickleIterator* iter, param_type* p); |
+ static void Write(base::Pickle* m, const param_type& p); |
+ static bool Read(const base::Pickle* m, |
+ base::PickleIterator* iter, |
+ param_type* p); |
static void Log(const param_type& p, std::string* l); |
}; |
template <> |
struct ParamTraits<extensions::APIPermissionSet> { |
typedef extensions::APIPermissionSet param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, base::PickleIterator* iter, param_type* r); |
+ static void Write(base::Pickle* m, const param_type& p); |
+ static bool Read(const base::Pickle* m, |
+ base::PickleIterator* iter, |
+ param_type* r); |
static void Log(const param_type& p, std::string* l); |
}; |
template <> |
struct ParamTraits<extensions::ManifestPermissionSet> { |
typedef extensions::ManifestPermissionSet param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, base::PickleIterator* iter, param_type* r); |
+ static void Write(base::Pickle* m, const param_type& p); |
+ static bool Read(const base::Pickle* m, |
+ base::PickleIterator* iter, |
+ param_type* r); |
static void Log(const param_type& p, std::string* l); |
}; |
template <> |
struct ParamTraits<HostID> { |
typedef HostID param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, base::PickleIterator* iter, param_type* r); |
+ static void Write(base::Pickle* m, const param_type& p); |
+ static bool Read(const base::Pickle* m, |
+ base::PickleIterator* iter, |
+ param_type* r); |
static void Log(const param_type& p, std::string* l); |
}; |
template <> |
struct ParamTraits<ExtensionMsg_PermissionSetStruct> { |
typedef ExtensionMsg_PermissionSetStruct param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, base::PickleIterator* iter, param_type* p); |
+ static void Write(base::Pickle* m, const param_type& p); |
+ static bool Read(const base::Pickle* m, |
+ base::PickleIterator* iter, |
+ param_type* p); |
static void Log(const param_type& p, std::string* l); |
}; |
template <> |
struct ParamTraits<ExtensionMsg_Loaded_Params> { |
typedef ExtensionMsg_Loaded_Params param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, base::PickleIterator* iter, param_type* p); |
+ static void Write(base::Pickle* m, const param_type& p); |
+ static bool Read(const base::Pickle* m, |
+ base::PickleIterator* iter, |
+ param_type* p); |
static void Log(const param_type& p, std::string* l); |
}; |