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

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

Issue 11434064: Enable Extension script bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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 | « no previous file | 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/metrics/field_trial.h" 9 #include "base/metrics/field_trial.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 13 matching lines...) Expand all
24 switches::kEasyOffStoreExtensionInstall, 24 switches::kEasyOffStoreExtensionInstall,
25 FeatureSwitch::DEFAULT_DISABLED), 25 FeatureSwitch::DEFAULT_DISABLED),
26 extensions_in_action_box( 26 extensions_in_action_box(
27 switches::kExtensionsInActionBox, 27 switches::kExtensionsInActionBox,
28 FeatureSwitch::DEFAULT_DISABLED), 28 FeatureSwitch::DEFAULT_DISABLED),
29 script_badges( 29 script_badges(
30 switches::kScriptBadges, 30 switches::kScriptBadges,
31 FeatureSwitch::DEFAULT_DISABLED), 31 FeatureSwitch::DEFAULT_DISABLED),
32 script_bubble( 32 script_bubble(
33 switches::kScriptBubble, 33 switches::kScriptBubble,
34 #if !defined(OS_MACOSX)
35 FeatureSwitch::DEFAULT_ENABLED),
36 #else
34 FeatureSwitch::DEFAULT_DISABLED), 37 FeatureSwitch::DEFAULT_DISABLED),
38 #endif
35 sideload_wipeout( 39 sideload_wipeout(
36 switches::kSideloadWipeout, 40 switches::kSideloadWipeout,
37 #if defined(OS_WIN) 41 #if defined(OS_WIN)
38 FeatureSwitch::DEFAULT_ENABLED), 42 FeatureSwitch::DEFAULT_ENABLED),
39 #else 43 #else
40 FeatureSwitch::DEFAULT_DISABLED), 44 FeatureSwitch::DEFAULT_DISABLED),
41 #endif 45 #endif
42 prompt_for_external_extensions( 46 prompt_for_external_extensions(
43 switches::kPromptForExternalExtensions, 47 switches::kPromptForExternalExtensions,
44 #if defined(OS_WIN) 48 #if defined(OS_WIN)
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 167
164 void FeatureSwitch::SetOverrideValue(OverrideValue override_value) { 168 void FeatureSwitch::SetOverrideValue(OverrideValue override_value) {
165 override_value_ = override_value; 169 override_value_ = override_value;
166 } 170 }
167 171
168 FeatureSwitch::OverrideValue FeatureSwitch::GetOverrideValue() const { 172 FeatureSwitch::OverrideValue FeatureSwitch::GetOverrideValue() const {
169 return override_value_; 173 return override_value_;
170 } 174 }
171 175
172 } // namespace extensions 176 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698