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

Unified Diff: content/common/frame_messages.h

Issue 2156803002: [HBD] Remove PluginCache and reload plugin list when origin changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes per alexmos@'s comments + DOMImplementation::createDocument fix Created 4 years, 4 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
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 27f9af77f4335908c0e1e95aeec9369ea35acc22..35e1eef064b19261ace42e8826c670dc62c1c541 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -1223,10 +1223,12 @@ IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStartsPlayback,
IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStopsPlayback,
int32_t /* pp_instance */)
-// Used to get the list of plugins
-IPC_SYNC_MESSAGE_CONTROL1_1(FrameHostMsg_GetPlugins,
- bool /* refresh*/,
- std::vector<content::WebPluginInfo> /* plugins */)
+// Used to get the list of plugins. |main_frame_origin| is used to handle
+// exceptions for plugins content settings.
alexmos 2016/08/05 23:49:06 nit: s/plugins/plugin/
trizzofo 2016/08/06 01:30:46 Done.
+IPC_SYNC_MESSAGE_CONTROL2_1(FrameHostMsg_GetPlugins,
+ bool /* refresh*/,
+ url::Origin /* main_frame_origin */,
+ std::vector<content::WebPluginInfo> /* plugins */)
// Return information about a plugin for the given URL and MIME
// type. If there is no matching plugin, |found| is false.

Powered by Google App Engine
This is Rietveld 408576698