Index: chrome/common/extensions/extension_messages.h |
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h |
index 23be3ac33ac75dbc6634d11dcbf031a92509ea6a..177be3e10d07d02feea377a820e8d855b1649edb 100644 |
--- a/chrome/common/extensions/extension_messages.h |
+++ b/chrome/common/extensions/extension_messages.h |
@@ -161,6 +161,23 @@ struct ParamTraits<extensions::APIPermission::ID> { |
}; |
template <> |
+struct ParamTraits<scoped_refptr<extensions::APIPermissionDetail> > { |
+ typedef scoped_refptr<extensions::APIPermissionDetail> 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<extensions::APIPermissionSet> { |
+ typedef extensions::APIPermissionSet 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<ExtensionMsg_Loaded_Params> { |
typedef ExtensionMsg_Loaded_Params param_type; |
static void Write(Message* m, const param_type& p); |