Index: content/public/renderer/plugin_instance_throttler.h |
diff --git a/content/public/renderer/plugin_instance_throttler.h b/content/public/renderer/plugin_instance_throttler.h |
index d8afb4a9b6df144f67619ab7a8b3e6fb2fad4782..bd2b9ef307693b098a24ea73fb590daa60039615 100644 |
--- a/content/public/renderer/plugin_instance_throttler.h |
+++ b/content/public/renderer/plugin_instance_throttler.h |
@@ -47,6 +47,7 @@ class CONTENT_EXPORT PluginInstanceThrottler { |
// How the throttled power saver is unthrottled, if ever. |
// These numeric values are used in UMA logs; do not change them. |
enum PowerSaverUnthrottleMethod { |
+ UNTHROTTLE_METHOD_DO_NOT_RECORD = -1, // Sentinel value to skip recording. |
UNTHROTTLE_METHOD_NEVER = 0, |
UNTHROTTLE_METHOD_BY_CLICK = 1, |
UNTHROTTLE_METHOD_BY_WHITELIST = 2, |
@@ -74,10 +75,6 @@ class CONTENT_EXPORT PluginInstanceThrottler { |
static void RecordUnthrottleMethodMetric(PowerSaverUnthrottleMethod method); |
- // Returns true if content is considered "large", and thus essential. |
- // |width| and |height| are zoom and device scale independent logical pixels. |
- static bool IsLargeContent(int width, int height); |
- |
virtual ~PluginInstanceThrottler() {} |
virtual void AddObserver(Observer* observer) = 0; |