Index: chrome/common/render_messages.h |
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h |
index b32e7fc328654592b017aa89568a141651c69359..729f4de01ca3e1b5e71e9ce7a8f35a79f692c2af 100644 |
--- a/chrome/common/render_messages.h |
+++ b/chrome/common/render_messages.h |
@@ -85,6 +85,14 @@ struct ParamTraits<ContentSettings> { |
static void Log(const param_type& p, std::string* l); |
}; |
+template <> |
+struct ParamTraits<ContentSettingsPattern> { |
+ typedef ContentSettingsPattern 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 // CHROME_COMMON_RENDER_MESSAGES_H_ |
@@ -193,6 +201,9 @@ IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetContentSettingsForCurrentURL, |
IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetDefaultContentSettings, |
ContentSettings /* content_settings */) |
+IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetImageSettings, |
+ ContentSettingRules /* rules */) |
+ |
// Tells the render view to load all blocked plugins. |
IPC_MESSAGE_ROUTED0(ChromeViewMsg_LoadBlockedPlugins) |