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

Unified Diff: chrome/common/extensions/feature_switch.cc

Issue 11189094: Implement sideload wipeout for Extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
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.
+ 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;
}

Powered by Google App Engine
This is Rietveld 408576698