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

Side by Side Diff: extensions/common/feature_switch.h

Issue 2668863002: [Extensions] Remove FeatureSwitch::easy_off_store_install (Closed)
Patch Set: Add TODO for histograms Created 3 years, 10 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_COMMON_FEATURE_SWITCH_H_ 5 #ifndef EXTENSIONS_COMMON_FEATURE_SWITCH_H_
6 #define EXTENSIONS_COMMON_FEATURE_SWITCH_H_ 6 #define EXTENSIONS_COMMON_FEATURE_SWITCH_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 13 matching lines...) Expand all
24 // because certain features are specifically designed *not* to be able to 24 // because certain features are specifically designed *not* to be able to
25 // be turned off via command-line, so we can't consult it (or, by extension, 25 // be turned off via command-line, so we can't consult it (or, by extension,
26 // the finch config). 26 // the finch config).
27 // 3. If there is a switch name, and the switch is present in the command line, 27 // 3. If there is a switch name, and the switch is present in the command line,
28 // the command line value will be used. 28 // the command line value will be used.
29 // 4. If there is a finch experiment associated and applicable to the machine, 29 // 4. If there is a finch experiment associated and applicable to the machine,
30 // the finch value will be used. 30 // the finch value will be used.
31 // 5. Otherwise, the default value is used. 31 // 5. Otherwise, the default value is used.
32 class FeatureSwitch { 32 class FeatureSwitch {
33 public: 33 public:
34 static FeatureSwitch* easy_off_store_install();
35 static FeatureSwitch* force_dev_mode_highlighting(); 34 static FeatureSwitch* force_dev_mode_highlighting();
36 static FeatureSwitch* prompt_for_external_extensions(); 35 static FeatureSwitch* prompt_for_external_extensions();
37 static FeatureSwitch* error_console(); 36 static FeatureSwitch* error_console();
38 static FeatureSwitch* enable_override_bookmarks_ui(); 37 static FeatureSwitch* enable_override_bookmarks_ui();
39 static FeatureSwitch* extension_action_redesign(); 38 static FeatureSwitch* extension_action_redesign();
40 static FeatureSwitch* scripts_require_action(); 39 static FeatureSwitch* scripts_require_action();
41 static FeatureSwitch* embedded_extension_options(); 40 static FeatureSwitch* embedded_extension_options();
42 static FeatureSwitch* trace_app_source(); 41 static FeatureSwitch* trace_app_source();
43 static FeatureSwitch* load_media_router_component_extension(); 42 static FeatureSwitch* load_media_router_component_extension();
44 static FeatureSwitch* native_crx_bindings(); 43 static FeatureSwitch* native_crx_bindings();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 const char* field_trial_name_; 94 const char* field_trial_name_;
96 bool default_value_; 95 bool default_value_;
97 OverrideValue override_value_; 96 OverrideValue override_value_;
98 97
99 DISALLOW_COPY_AND_ASSIGN(FeatureSwitch); 98 DISALLOW_COPY_AND_ASSIGN(FeatureSwitch);
100 }; 99 };
101 100
102 } // namespace extensions 101 } // namespace extensions
103 102
104 #endif // EXTENSIONS_COMMON_FEATURE_SWITCH_H_ 103 #endif // EXTENSIONS_COMMON_FEATURE_SWITCH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698