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

Unified Diff: components/plugins/renderer/loadable_plugin_placeholder.cc

Issue 2208173002: Plugin Power Saver Tiny: Add Unthrottle by Omnibox bucket to histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | content/public/renderer/plugin_instance_throttler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/plugins/renderer/loadable_plugin_placeholder.cc
diff --git a/components/plugins/renderer/loadable_plugin_placeholder.cc b/components/plugins/renderer/loadable_plugin_placeholder.cc
index 7d50eecaf8112ca14a78ce2bfefb8e6f5cabf90c..a8c6d71abf16861f4ba0516bc96743d83197e8ed 100644
--- a/components/plugins/renderer/loadable_plugin_placeholder.cc
+++ b/components/plugins/renderer/loadable_plugin_placeholder.cc
@@ -263,7 +263,8 @@ void LoadablePluginPlaceholder::OnLoadBlockedPlugins(
return;
RenderThread::Get()->RecordAction(UserMetricsAction("Plugin_Load_UI"));
- MarkPluginEssential(PluginInstanceThrottler::UNTHROTTLE_METHOD_DO_NOT_RECORD);
+ MarkPluginEssential(
+ PluginInstanceThrottler::UNTHROTTLE_METHOD_BY_OMNIBOX_ICON);
LoadPlugin();
}
« no previous file with comments | « no previous file | content/public/renderer/plugin_instance_throttler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698