| Index: components/plugins/renderer/loadable_plugin_placeholder.h
|
| diff --git a/components/plugins/renderer/loadable_plugin_placeholder.h b/components/plugins/renderer/loadable_plugin_placeholder.h
|
| index 5f3748f8c2296058407b1d9fcb76b34b19fa175f..402fdc7e4d185b976f4d1fe19239e21284e505dc 100644
|
| --- a/components/plugins/renderer/loadable_plugin_placeholder.h
|
| +++ b/components/plugins/renderer/loadable_plugin_placeholder.h
|
| @@ -44,7 +44,8 @@ class LoadablePluginPlaceholder : public PluginPlaceholder {
|
| ~LoadablePluginPlaceholder() override;
|
|
|
| #if defined(ENABLE_PLUGINS)
|
| - void DisablePowerSaverForInstance();
|
| + void DisablePowerSaverForInstance(
|
| + content::PluginInstanceThrottler::PowerSaverUnthrottleMethod method);
|
| #endif
|
|
|
| void OnLoadBlockedPlugins(const std::string& identifier);
|
| @@ -111,6 +112,9 @@ class LoadablePluginPlaceholder : public PluginPlaceholder {
|
|
|
| bool allow_loading_;
|
|
|
| + // True if the placeholder was replaced with the real plugin.
|
| + bool placeholder_was_replaced_;
|
| +
|
| bool hidden_;
|
| bool finished_loading_;
|
| std::string identifier_;
|
|
|