| 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 5389a8be4a323b4c32c8581f978d5751e6522aa6..9f55084609a3c09e9bd890eb4ae62f10588eb5be 100644
|
| --- a/content/renderer/pepper/pepper_plugin_instance_impl.h
|
| +++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
|
| @@ -688,7 +688,7 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
|
| const ppapi::URLResponseInfoData& data);
|
|
|
| void SetPluginThrottled(bool throttled);
|
| - void DisablePowerSaverAndUnthrottle();
|
| + void DisablePowerSaverByRetroactiveWhitelist();
|
|
|
| RenderFrameImpl* render_frame_;
|
| base::Closure instance_deleted_callback_;
|
| @@ -714,8 +714,14 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
|
| GURL plugin_url_;
|
|
|
| // Indicates whether this plugin may be throttled to reduce power consumption.
|
| + // |power_saver_enabled_| implies |is_peripheral_content_|.
|
| bool power_saver_enabled_;
|
|
|
| + // Indicates whether this plugin was found to be peripheral content.
|
| + // This is separately tracked from |power_saver_enabled_| to collect UMAs.
|
| + // Always true if |power_saver_enabled_| is true.
|
| + bool is_peripheral_content_;
|
| +
|
| // Indicates if the plugin is currently throttled.
|
| bool plugin_throttled_;
|
|
|
|
|