Index: components/plugins/common/plugins_field_trial.h |
diff --git a/components/plugins/common/plugins_field_trial.h b/components/plugins/common/plugins_field_trial.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7912d02537fba0086f1b8987b671413e1c6b65d5 |
--- /dev/null |
+++ b/components/plugins/common/plugins_field_trial.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_PLUGINS_COMMON_PLUGINS_FIELD_TRIAL_H_ |
+#define COMPONENTS_PLUGINS_COMMON_PLUGINS_FIELD_TRIAL_H_ |
+ |
+#include "base/macros.h" |
+ |
+// This class manages the Plugins field trials. |
+class PluginsFieldTrial { |
+ public: |
+ // Returns true if the Plugin Power Saver feature is forced on, overriding |
+ // the user's Content Settings. |
+ static bool EnableForcePluginPowerSaver(); |
+ |
groby-ooo-7-16
2015/03/27 23:12:32
private:, please. Otherwise DISALLOW_ won't disall
tommycli
2015/03/28 00:40:04
Done. doh
|
+ DISALLOW_IMPLICIT_CONSTRUCTORS(PluginsFieldTrial); |
+}; |
+ |
+#endif // COMPONENTS_PLUGINS_COMMON_PLUGINS_FIELD_TRIAL_H_ |