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

Unified Diff: content/public/browser/plugin_service.h

Issue 10014013: Add a hang monitor for Pepper plugins (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698