Index: content/public/browser/plugin_service.h |
diff --git a/content/public/browser/plugin_service.h b/content/public/browser/plugin_service.h |
index 5be3d087cada0d7ef04722450f2b0fdb7b8fbc0c..862aca4a125c1f81e5a9f21ed0b55937582519fc 100644 |
--- a/content/public/browser/plugin_service.h |
+++ b/content/public/browser/plugin_service.h |
@@ -93,6 +93,11 @@ class PluginService { |
virtual bool GetPluginInfoByPath(const FilePath& plugin_path, |
webkit::WebPluginInfo* info) = 0; |
+ // Returns the display name for the plugin identified by the given path. If |
+ // the path doesn't identify a plugin, or the plugin has no display name, |
+ // this will attempt to generate a display name from the path. |
+ virtual string16 GetPluginDisplayNameByPath(const FilePath& plugin_path) = 0; |
+ |
// Asynchronously loads plugins if necessary and then calls back to the |
// provided function on the calling MessageLoop on completion. |
virtual void GetPlugins(const GetPluginsCallback& callback) = 0; |