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

Side by Side Diff: components/plugins/common/plugins_field_trial.h

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: fix gypi i hope 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_PLUGINS_COMMON_PLUGINS_FIELD_TRIAL_H_
6 #define COMPONENTS_PLUGINS_COMMON_PLUGINS_FIELD_TRIAL_H_
7
8 #include "base/macros.h"
9
10 // This class manages the Plugins field trials.
11 class PluginsFieldTrial {
12 public:
13 // Returns true if the Plugin Power Saver feature is forced on, overriding
14 // the user's Content Settings.
15 static bool EnableForcePluginPowerSaver();
16
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
17 DISALLOW_IMPLICIT_CONSTRUCTORS(PluginsFieldTrial);
18 };
19
20 #endif // COMPONENTS_PLUGINS_COMMON_PLUGINS_FIELD_TRIAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698