Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4186)

Unified Diff: chrome/common/render_messages.h

Issue 2614033004: Convert SetContentSettingRules to use mojo, part 2/2. (Closed)
Patch Set: Convert SetContentSettingRules to use mojo, part 2/2. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/content_settings_pattern_serializer.cc ('k') | chrome/common/render_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 4ebddb89647ce3887ffe0725d28da49e98100875..67a387ef694f347b07feb9b8620ffd6dbc56fbc1 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -60,21 +60,6 @@ enum class ChromeViewHostMsg_GetPluginInfo_Status {
kUnauthorized,
};
-namespace IPC {
-
-template <>
-struct ParamTraits<ContentSettingsPattern> {
- typedef ContentSettingsPattern param_type;
- static void GetSize(base::PickleSizer* s, const 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* r);
- static void Log(const param_type& p, std::string* l);
-};
-
-} // namespace IPC
-
#endif // CHROME_COMMON_RENDER_MESSAGES_H_
#define IPC_MESSAGE_START ChromeMsgStart
@@ -98,31 +83,6 @@ IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output)
IPC_STRUCT_MEMBER(base::string16, group_name)
IPC_STRUCT_END()
-IPC_STRUCT_TRAITS_BEGIN(ContentSettingsPattern::PatternParts)
- IPC_STRUCT_TRAITS_MEMBER(scheme)
- IPC_STRUCT_TRAITS_MEMBER(is_scheme_wildcard)
- IPC_STRUCT_TRAITS_MEMBER(host)
- IPC_STRUCT_TRAITS_MEMBER(has_domain_wildcard)
- IPC_STRUCT_TRAITS_MEMBER(port)
- IPC_STRUCT_TRAITS_MEMBER(is_port_wildcard)
- IPC_STRUCT_TRAITS_MEMBER(path)
- IPC_STRUCT_TRAITS_MEMBER(is_path_wildcard)
-IPC_STRUCT_TRAITS_END()
-
-IPC_STRUCT_TRAITS_BEGIN(ContentSettingPatternSource)
- IPC_STRUCT_TRAITS_MEMBER(primary_pattern)
- IPC_STRUCT_TRAITS_MEMBER(secondary_pattern)
- IPC_STRUCT_TRAITS_MEMBER(setting)
- IPC_STRUCT_TRAITS_MEMBER(source)
- IPC_STRUCT_TRAITS_MEMBER(incognito)
-IPC_STRUCT_TRAITS_END()
-
-IPC_STRUCT_TRAITS_BEGIN(RendererContentSettingRules)
- IPC_STRUCT_TRAITS_MEMBER(image_rules)
- IPC_STRUCT_TRAITS_MEMBER(script_rules)
- IPC_STRUCT_TRAITS_MEMBER(autoplay_rules)
-IPC_STRUCT_TRAITS_END()
-
IPC_STRUCT_TRAITS_BEGIN(RGBAColor)
IPC_STRUCT_TRAITS_MEMBER(r)
IPC_STRUCT_TRAITS_MEMBER(g)
@@ -160,10 +120,6 @@ IPC_MESSAGE_ROUTED1(ChromeViewMsg_WebUIJavaScript,
base::string16 /* javascript */)
#endif
-// Set the content setting rules stored by the renderer.
-IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetContentSettingRules,
- RendererContentSettingRules /* rules */)
-
// Tells the render frame to load all blocked plugins with the given identifier.
IPC_MESSAGE_ROUTED1(ChromeViewMsg_LoadBlockedPlugins,
std::string /* identifier */)
« no previous file with comments | « chrome/common/content_settings_pattern_serializer.cc ('k') | chrome/common/render_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698