diff options
Diffstat (limited to 'webkit/plugins/npapi/plugin_list.h')
-rw-r--r-- | webkit/plugins/npapi/plugin_list.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/webkit/plugins/npapi/plugin_list.h b/webkit/plugins/npapi/plugin_list.h index 7de2951..6825538 100644 --- a/webkit/plugins/npapi/plugin_list.h +++ b/webkit/plugins/npapi/plugin_list.h @@ -59,6 +59,12 @@ class WEBKIT_PLUGINS_EXPORT PluginList { // by a command line switch. static bool DebugPluginLoading(); + // Returns true if the plugin supports |mime_type|. |mime_type| should be all + // lower case. + static bool SupportsType(const webkit::WebPluginInfo& plugin, + const std::string& mime_type, + bool allow_wildcard); + // Cause the plugin list to refresh next time they are accessed, regardless // of whether they are already loaded. void RefreshPlugins(); @@ -203,12 +209,6 @@ class WEBKIT_PLUGINS_EXPORT PluginList { const webkit::WebPluginInfo& info, std::vector<webkit::WebPluginInfo>* plugins); - // Returns true if the plugin supports |mime_type|. |mime_type| should be all - // lower case. - bool SupportsType(const webkit::WebPluginInfo& plugin, - const std::string& mime_type, - bool allow_wildcard); - // Returns true if the given plugin supports a given file extension. // |extension| should be all lower case. If |mime_type| is not NULL, it will // be set to the MIME type if found. The MIME type which corresponds to the |