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

Side by Side Diff: chrome/common/extensions/feature_switch.cc

Issue 11232060: Make sure sideload wipeout doesn't interfere with the tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/views/toolbar_view.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/common/extensions/feature_switch.h" 5 #include "chrome/common/extensions/feature_switch.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
(...skipping 13 matching lines...) Expand all
24 FeatureSwitch::DEFAULT_DISABLED), 24 FeatureSwitch::DEFAULT_DISABLED),
25 extensions_in_action_box( 25 extensions_in_action_box(
26 switches::kExtensionsInActionBox, 26 switches::kExtensionsInActionBox,
27 FeatureSwitch::DEFAULT_DISABLED), 27 FeatureSwitch::DEFAULT_DISABLED),
28 script_badges( 28 script_badges(
29 switches::kScriptBadges, 29 switches::kScriptBadges,
30 FeatureSwitch::DEFAULT_DISABLED), 30 FeatureSwitch::DEFAULT_DISABLED),
31 script_bubble( 31 script_bubble(
32 switches::kScriptBubble, 32 switches::kScriptBubble,
33 FeatureSwitch::DEFAULT_DISABLED), 33 FeatureSwitch::DEFAULT_DISABLED),
34 // TODO(finnur): When enabling this, only enable for OS_WIN.
34 sideload_wipeout( 35 sideload_wipeout(
35 switches::kSideloadWipeout, 36 switches::kSideloadWipeout,
36 FeatureSwitch::DEFAULT_DISABLED), 37 FeatureSwitch::DEFAULT_DISABLED),
37 prompt_for_external_extensions( 38 prompt_for_external_extensions(
38 switches::kPromptForExternalExtensions, 39 switches::kPromptForExternalExtensions,
39 FeatureSwitch::DEFAULT_ENABLED) 40 FeatureSwitch::DEFAULT_ENABLED)
40 { 41 {
41 // Disabling easy off-store installation is not yet implemented for Aura. Not 42 // Disabling easy off-store installation is not yet implemented for Aura. Not
42 // sure what the Aura equivalent for this UI is. 43 // sure what the Aura equivalent for this UI is.
43 #if defined(USE_AURA) 44 #if defined(USE_AURA)
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 154
154 void FeatureSwitch::SetOverrideValue(OverrideValue override_value) { 155 void FeatureSwitch::SetOverrideValue(OverrideValue override_value) {
155 override_value_ = override_value; 156 override_value_ = override_value;
156 } 157 }
157 158
158 FeatureSwitch::OverrideValue FeatureSwitch::GetOverrideValue() const { 159 FeatureSwitch::OverrideValue FeatureSwitch::GetOverrideValue() const {
159 return override_value_; 160 return override_value_;
160 } 161 }
161 162
162 } // namespace extensions 163 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/toolbar_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698