Chromium Code Reviews| Index: chrome/common/extensions/feature_switch.cc |
| =================================================================== |
| --- chrome/common/extensions/feature_switch.cc (revision 162977) |
| +++ chrome/common/extensions/feature_switch.cc (working copy) |
| @@ -31,6 +31,10 @@ |
| script_bubble( |
| switches::kScriptBubble, |
| FeatureSwitch::DEFAULT_DISABLED), |
| + // TODO(finnur): Change to DEFAULT_DISABLED before checking in. |
|
Aaron Boodman
2012/10/19 18:40:45
Depends on timing. If we get this in by Monday, I
Aaron Boodman
2012/10/19 18:45:02
Thought about this a little more. Think you should
|
| + sideload_wipeout( |
| + switches::kSideloadWipeout, |
| + FeatureSwitch::DEFAULT_ENABLED), |
| prompt_for_external_extensions( |
| switches::kPromptForExternalExtensions, |
| FeatureSwitch::DEFAULT_ENABLED) |
| @@ -52,6 +56,7 @@ |
| FeatureSwitch extensions_in_action_box; |
| FeatureSwitch script_badges; |
| FeatureSwitch script_bubble; |
| + FeatureSwitch sideload_wipeout; |
| FeatureSwitch prompt_for_external_extensions; |
| }; |
| @@ -76,6 +81,9 @@ |
| FeatureSwitch* FeatureSwitch::script_bubble() { |
| return &g_common_switches.Get().script_bubble; |
| } |
| +FeatureSwitch* FeatureSwitch::sideload_wipeout() { |
| + return &g_common_switches.Get().sideload_wipeout; |
| +} |
| FeatureSwitch* FeatureSwitch::prompt_for_external_extensions() { |
| return &g_common_switches.Get().prompt_for_external_extensions; |
| } |