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

Unified Diff: content/public/renderer/plugin_instance_throttler.h

Issue 863813002: Plugin Power Saver: Make Unthrottle metric collection more consistent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
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 617b4b12560cc79eaf8c025609ef7e245325a318..5fa327679794a658b62c58f191c39f24a236f664 100644
--- a/content/public/renderer/plugin_instance_throttler.h
+++ b/content/public/renderer/plugin_instance_throttler.h
@@ -70,6 +70,8 @@ class CONTENT_EXPORT PluginInstanceThrottler {
const GURL& plugin_url,
PluginPowerSaverMode power_saver_mode);
+ static void RecordUnthrottleMethodMetric(PowerSaverUnthrottleMethod method);
+
virtual ~PluginInstanceThrottler() {}
virtual void AddObserver(Observer* observer) = 0;

Powered by Google App Engine
This is Rietveld 408576698