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

Unified Diff: chrome/common/render_messages.h

Issue 3015029: Replace ViewHostMsg_GetPluginPath with ViewHostMsg_GetPluginInfo. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: compile fixes 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/browser/renderer_host/resource_message_filter.cc ('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 acdd77e8be19f59e74c0e885e56c5a203ee73bf4..02790e5b0865596868e92b0db667d21e76fdb5c7 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -1307,6 +1307,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
@@ -1314,7 +1315,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"(");
@@ -1328,6 +1330,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/browser/renderer_host/resource_message_filter.cc ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698