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

Unified Diff: chrome/common/render_messages.h

Issue 2967007: Disable outdated plugins, block non-sandboxed plugins. (Closed)
Patch Set: '' Created 10 years, 5 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/plugin_group.h ('k') | chrome/common/render_messages_internal.h » ('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 82888e63837dff21b46479932913eacfa5284a7c..72e11e90c14a10ed8c3aba8c852eff34646e41c9 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -1300,6 +1300,7 @@ struct ParamTraits<WebPluginInfo> {
WriteParam(m, p.version);
WriteParam(m, p.desc);
WriteParam(m, p.mime_types);
+ WriteParam(m, p.enabled);
}
static bool Read(const Message* m, void** iter, param_type* r) {
return
@@ -1307,7 +1308,8 @@ struct ParamTraits<WebPluginInfo> {
ReadParam(m, iter, &r->path) &&
ReadParam(m, iter, &r->version) &&
ReadParam(m, iter, &r->desc) &&
- ReadParam(m, iter, &r->mime_types);
+ ReadParam(m, iter, &r->mime_types) &&
+ ReadParam(m, iter, &r->enabled);
}
static void Log(const param_type& p, std::wstring* l) {
l->append(L"(");
@@ -1321,6 +1323,8 @@ struct ParamTraits<WebPluginInfo> {
LogParam(p.desc, l);
l->append(L", ");
LogParam(p.mime_types, l);
+ l->append(L", ");
+ LogParam(p.enabled, l);
l->append(L")");
}
};
« no previous file with comments | « chrome/common/plugin_group.h ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698