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

Unified Diff: chrome/browser/about_flags.cc

Issue 1033103002: Plugin Power Saver: Overhaul plugin-power-saver flags. Show in UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 0a0df19aca531a446d017a2a1b11494a0f03971a..3e9bc353dcf39fd1819f2ede648a00977f5bc4a7 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -27,6 +27,7 @@
#include "components/metrics/metrics_hashes.h"
#include "components/nacl/common/nacl_switches.h"
#include "components/omnibox/omnibox_switches.h"
+#include "components/plugins/common/plugins_switches.h"
#include "components/proximity_auth/switches.h"
#include "components/search/search_switches.h"
#include "content/public/browser/user_metrics.h"
@@ -2057,11 +2058,12 @@ const Experiment kExperiments[] = {
},
#if defined(ENABLE_PLUGINS)
{
- "enable-plugin-power-saver",
+ "plugin-power-saver",
Lei Zhang 2015/03/30 18:45:31 This change will likely make users who have it ena
tommycli 2015/03/30 18:59:43 Done. Not intentional.
IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_NAME,
IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_DESCRIPTION,
kOsDesktop,
- SINGLE_VALUE_TYPE(switches::kEnablePluginPowerSaver)
+ ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePluginPowerSaver,
+ switches::kDisablePluginPowerSaver)
},
#endif
#if defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698