diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/Plugins/PluginInfoStore.h')
-rw-r--r-- | Source/WebKit2/UIProcess/Plugins/PluginInfoStore.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/WebKit2/UIProcess/Plugins/PluginInfoStore.h b/Source/WebKit2/UIProcess/Plugins/PluginInfoStore.h index b342203..fc49d96 100644 --- a/Source/WebKit2/UIProcess/Plugins/PluginInfoStore.h +++ b/Source/WebKit2/UIProcess/Plugins/PluginInfoStore.h @@ -41,8 +41,9 @@ public: void setAdditionalPluginsDirectories(const Vector<String>&); void refresh(); - void getPlugins(Vector<WebCore::PluginInfo>& plugins); - + void getPlugins(Vector<WebCore::PluginInfo>&); + void getPluginPaths(Vector<String>&); + // Represents a single plug-in. struct Plugin { String path; @@ -56,6 +57,8 @@ public: #endif }; + const Vector<Plugin>& plugins(); + // Returns the info for a plug-in that can handle the given MIME type. // If the MIME type is null, the file extension of the given url will be used to infer the // plug-in type. In that case, mimeType will be filled in with the right MIME type. |