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

Unified Diff: content/common/view_messages.h

Issue 7387010: Add PluginServiceFilter interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 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
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 0698af620236186c4e783c0761321913a1a99440..bb0060ccfa2d5ef9cd482a7083cdb299ee21e100 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1531,16 +1531,14 @@ IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins,
std::vector<webkit::npapi::WebPluginInfo> /* plugins */)
// Return information about a plugin for the given URL and MIME
-// type. If there is no matching plugin, |found| is false. If
-// |enabled| in the WebPluginInfo struct is false, the plug-in is
-// treated as if it was not installed at all.
+// type. If there is no matching plugin, |found| is false.
// |actual_mime_type| is the actual mime type supported by the
// plugin found that match the URL given (one for each item in
// |info|).
IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo,
int /* routing_id */,
GURL /* url */,
- GURL /* policy_url */,
+ GURL /* page_url */,
std::string /* mime_type */,
bool /* found */,
webkit::npapi::WebPluginInfo /* plugin info */,
@@ -1550,9 +1548,10 @@ IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo,
// create a plugin. The browser will create the plugin process if
// necessary, and will return a handle to the channel on success.
// On error an empty string is returned.
-IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_OpenChannelToPlugin,
+IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin,
int /* routing_id */,
GURL /* url */,
+ GURL /* page_url */,
std::string /* mime_type */,
IPC::ChannelHandle /* channel_handle */,
webkit::npapi::WebPluginInfo /* info */)

Powered by Google App Engine
This is Rietveld 408576698