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

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

Issue 879403002: Plugin Power Saver: Mute throttled plugins. (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/renderer/pepper/pepper_plugin_instance_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h
index 1f21842a6d66d3153e40e7fd2ee1610ab1d9e87c..361d350182a02fcab72a2db85a0b8a0b528b362b 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
@@ -542,7 +542,8 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
void OnDestruct() override;
// PluginInstanceThrottler::Observer
- void OnThrottleStateChange() override;
+ void OnPowerSaverStateChange(
+ PluginInstanceThrottler::PowerSaverState state) override;
void AddLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info);

Powered by Google App Engine
This is Rietveld 408576698