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

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

Issue 22256002: Remove tabCapture about:flags switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/chrome_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/feature_switch.cc
diff --git a/chrome/common/extensions/feature_switch.cc b/chrome/common/extensions/feature_switch.cc
index 5ea34456d69fe709ddfe76dcce9e03a164b6e884..860c78239a79b067aba33ea90b86ab4433d97380 100644
--- a/chrome/common/extensions/feature_switch.cc
+++ b/chrome/common/extensions/feature_switch.cc
@@ -29,19 +29,15 @@ class CommonSwitches {
prompt_for_external_extensions(
switches::kPromptForExternalExtensions,
#if defined(OS_WIN)
- FeatureSwitch::DEFAULT_ENABLED),
+ FeatureSwitch::DEFAULT_ENABLED) {}
#else
- FeatureSwitch::DEFAULT_DISABLED),
+ FeatureSwitch::DEFAULT_DISABLED) {}
#endif
- tab_capture(
- switches::kTabCapture,
- FeatureSwitch::DEFAULT_ENABLED) {}
FeatureSwitch easy_off_store_install;
FeatureSwitch script_badges;
FeatureSwitch script_bubble;
FeatureSwitch prompt_for_external_extensions;
- FeatureSwitch tab_capture;
};
base::LazyInstance<CommonSwitches> g_common_switches =
@@ -61,10 +57,6 @@ FeatureSwitch* FeatureSwitch::script_bubble() {
FeatureSwitch* FeatureSwitch::prompt_for_external_extensions() {
return &g_common_switches.Get().prompt_for_external_extensions;
}
-FeatureSwitch* FeatureSwitch::tab_capture() {
- return &g_common_switches.Get().tab_capture;
-}
-
FeatureSwitch::ScopedOverride::ScopedOverride(FeatureSwitch* feature,
bool override_value)
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698