OLD | NEW |
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 24 matching lines...) Expand all Loading... |
35 static FeatureSwitch* force_dev_mode_highlighting(); | 35 static FeatureSwitch* force_dev_mode_highlighting(); |
36 static FeatureSwitch* prompt_for_external_extensions(); | 36 static FeatureSwitch* prompt_for_external_extensions(); |
37 static FeatureSwitch* error_console(); | 37 static FeatureSwitch* error_console(); |
38 static FeatureSwitch* enable_override_bookmarks_ui(); | 38 static FeatureSwitch* enable_override_bookmarks_ui(); |
39 static FeatureSwitch* extension_action_redesign(); | 39 static FeatureSwitch* extension_action_redesign(); |
40 static FeatureSwitch* scripts_require_action(); | 40 static FeatureSwitch* scripts_require_action(); |
41 static FeatureSwitch* embedded_extension_options(); | 41 static FeatureSwitch* embedded_extension_options(); |
42 static FeatureSwitch* trace_app_source(); | 42 static FeatureSwitch* trace_app_source(); |
43 static FeatureSwitch* media_router(); | 43 static FeatureSwitch* media_router(); |
44 static FeatureSwitch* media_router_with_cast_extension(); | 44 static FeatureSwitch* media_router_with_cast_extension(); |
| 45 static FeatureSwitch* webrequest_ssl_info(); |
45 | 46 |
46 enum DefaultValue { | 47 enum DefaultValue { |
47 DEFAULT_ENABLED, | 48 DEFAULT_ENABLED, |
48 DEFAULT_DISABLED | 49 DEFAULT_DISABLED |
49 }; | 50 }; |
50 | 51 |
51 enum OverrideValue { | 52 enum OverrideValue { |
52 OVERRIDE_NONE, | 53 OVERRIDE_NONE, |
53 OVERRIDE_ENABLED, | 54 OVERRIDE_ENABLED, |
54 OVERRIDE_DISABLED | 55 OVERRIDE_DISABLED |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 const char* field_trial_name_; | 96 const char* field_trial_name_; |
96 bool default_value_; | 97 bool default_value_; |
97 OverrideValue override_value_; | 98 OverrideValue override_value_; |
98 | 99 |
99 DISALLOW_COPY_AND_ASSIGN(FeatureSwitch); | 100 DISALLOW_COPY_AND_ASSIGN(FeatureSwitch); |
100 }; | 101 }; |
101 | 102 |
102 } // namespace extensions | 103 } // namespace extensions |
103 | 104 |
104 #endif // EXTENSIONS_COMMON_FEATURE_SWITCH_H_ | 105 #endif // EXTENSIONS_COMMON_FEATURE_SWITCH_H_ |
OLD | NEW |