Index: chrome/common/render_messages.h |
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h |
index b32e7fc328654592b017aa89568a141651c69359..13a00ff81986f0a0850037c5ca73a660d40c9f70 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_SetImageSettingRules, |
+ ContentSettingsForOneType /* rules */) |
+ |
// Tells the render view to load all blocked plugins. |
IPC_MESSAGE_ROUTED0(ChromeViewMsg_LoadBlockedPlugins) |