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

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
« no previous file with comments | « chrome/common/extensions/feature_switch.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,9 @@
script_bubble(
switches::kScriptBubble,
FeatureSwitch::DEFAULT_DISABLED),
+ sideload_wipeout(
+ switches::kSideloadWipeout,
+ FeatureSwitch::DEFAULT_DISABLED),
prompt_for_external_extensions(
switches::kPromptForExternalExtensions,
FeatureSwitch::DEFAULT_ENABLED)
@@ -52,6 +55,7 @@
FeatureSwitch extensions_in_action_box;
FeatureSwitch script_badges;
FeatureSwitch script_bubble;
+ FeatureSwitch sideload_wipeout;
FeatureSwitch prompt_for_external_extensions;
};
@@ -76,6 +80,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;
}
« no previous file with comments | « chrome/common/extensions/feature_switch.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698