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/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 public: | 21 public: |
22 static FeatureSwitch* easy_off_store_install(); | 22 static FeatureSwitch* easy_off_store_install(); |
23 static FeatureSwitch* force_dev_mode_highlighting(); | 23 static FeatureSwitch* force_dev_mode_highlighting(); |
24 static FeatureSwitch* prompt_for_external_extensions(); | 24 static FeatureSwitch* prompt_for_external_extensions(); |
25 static FeatureSwitch* error_console(); | 25 static FeatureSwitch* error_console(); |
26 static FeatureSwitch* enable_override_bookmarks_ui(); | 26 static FeatureSwitch* enable_override_bookmarks_ui(); |
27 static FeatureSwitch* extension_action_redesign(); | 27 static FeatureSwitch* extension_action_redesign(); |
28 static FeatureSwitch* scripts_require_action(); | 28 static FeatureSwitch* scripts_require_action(); |
29 static FeatureSwitch* embedded_extension_options(); | 29 static FeatureSwitch* embedded_extension_options(); |
30 static FeatureSwitch* app_view(); | 30 static FeatureSwitch* app_view(); |
| 31 static FeatureSwitch* mime_handler_view(); |
31 | 32 |
32 enum DefaultValue { | 33 enum DefaultValue { |
33 DEFAULT_ENABLED, | 34 DEFAULT_ENABLED, |
34 DEFAULT_DISABLED | 35 DEFAULT_DISABLED |
35 }; | 36 }; |
36 | 37 |
37 enum OverrideValue { | 38 enum OverrideValue { |
38 OVERRIDE_NONE, | 39 OVERRIDE_NONE, |
39 OVERRIDE_ENABLED, | 40 OVERRIDE_ENABLED, |
40 OVERRIDE_DISABLED | 41 OVERRIDE_DISABLED |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 const char* switch_name_; | 78 const char* switch_name_; |
78 bool default_value_; | 79 bool default_value_; |
79 OverrideValue override_value_; | 80 OverrideValue override_value_; |
80 | 81 |
81 DISALLOW_COPY_AND_ASSIGN(FeatureSwitch); | 82 DISALLOW_COPY_AND_ASSIGN(FeatureSwitch); |
82 }; | 83 }; |
83 | 84 |
84 } // namespace extensions | 85 } // namespace extensions |
85 | 86 |
86 #endif // EXTENSIONS_COMMON_FEATURE_SWITCH_H_ | 87 #endif // EXTENSIONS_COMMON_FEATURE_SWITCH_H_ |
OLD | NEW |