Index: content/renderer/render_view.h |
diff --git a/content/renderer/render_view.h b/content/renderer/render_view.h |
index e595f20f39f27e5b013d663d26068b14877d23a0..f0a6db7924fcd5849c1ee72b9854d745af29d6cc 100644 |
--- a/content/renderer/render_view.h |
+++ b/content/renderer/render_view.h |
@@ -77,6 +77,7 @@ class WebPluginDelegateProxy; |
class WebUIBindings; |
struct ContextMenuMediaParams; |
struct PP_Flash_NetAddress; |
+struct ViewHostMsg_GetMatchingPlugins_Params; |
jam
2011/09/27 16:51:34
nit: not needed
Bernhard Bauer
2011/09/29 13:20:47
Done.
|
struct ViewHostMsg_RunFileChooser_Params; |
struct ViewMsg_SwapOut_Params; |
struct ViewMsg_Navigate_Params; |
@@ -339,16 +340,15 @@ class RenderView : public RenderWidget, |
void RegisterPluginDelegate(WebPluginDelegateProxy* delegate); |
void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); |
- // Helper function to retrieve information about a plugin for a URL and mime |
- // type. Returns false if no plugin was found. |
- // |actual_mime_type| is the actual mime type supported by the |
- // plugin found that match the URL given (one for each item in |
- // |info|). |
- CONTENT_EXPORT bool GetPluginInfo(const GURL& url, |
- const GURL& page_url, |
- const std::string& mime_type, |
- webkit::WebPluginInfo* plugin_info, |
- std::string* actual_mime_type); |
+ // Helper function to retrieve information about matching plug-ins for a URL |
+ // and MIME type. |
+ CONTENT_EXPORT void GetMatchingPlugins( |
+ const GURL& url, |
+ const GURL& page_url, |
+ const std::string& mime_type, |
+ std::vector<webkit::WebPluginInfo>* plugins, |
+ std::vector<std::string>* mime_types, |
+ std::vector<bool>* allowed); |
// Asks the host to create a block of shared memory for the renderer. |
// The shared memory handle allocated by the host is returned back. |