summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
authorcevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-29 06:28:48 +0000
committercevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-29 06:28:48 +0000
commit47214d887231579c4dc8f1911539a385b7aed0fe (patch)
treedf90714bb59ea64ef357f82e8d62997a535a3fe4 /content/public
parentc224933cbc7e2c12a65481d951dff15b2bfccf31 (diff)
downloadchromium_src-47214d887231579c4dc8f1911539a385b7aed0fe.zip
chromium_src-47214d887231579c4dc8f1911539a385b7aed0fe.tar.gz
chromium_src-47214d887231579c4dc8f1911539a385b7aed0fe.tar.bz2
Apply a rate limit on a per-plug-in basis to plug-in crashes.
BUG=115758 Review URL: https://chromiumcodereview.appspot.com/9460038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124139 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public')
-rw-r--r--content/public/browser/plugin_service.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/public/browser/plugin_service.h b/content/public/browser/plugin_service.h
index 34806b3..5be3d08 100644
--- a/content/public/browser/plugin_service.h
+++ b/content/public/browser/plugin_service.h
@@ -113,6 +113,10 @@ class PluginService {
// If the plugin with the given path is running, cleanly shuts it down.
virtual void ForcePluginShutdown(const FilePath& plugin_path) = 0;
+ // Used to monitor plug-in stability. An unstable plug-in is one that has
+ // crashed more than a set number of times in a set time period.
+ virtual bool IsPluginUnstable(const FilePath& plugin_path) = 0;
+
// The following functions are wrappers around webkit::npapi::PluginList.
// These must be used instead of those in order to ensure that we have a
// single global list in the component build and so that we don't