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

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

Issue 1761913003: [Extensions] Default-enable the toolbar redesign on trunk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_actions_model_unittest.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "extensions/common/feature_switch.h" 5 #include "extensions/common/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/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #if defined(OS_WIN) 45 #if defined(OS_WIN)
46 FeatureSwitch::DEFAULT_ENABLED), 46 FeatureSwitch::DEFAULT_ENABLED),
47 #else 47 #else
48 FeatureSwitch::DEFAULT_DISABLED), 48 FeatureSwitch::DEFAULT_DISABLED),
49 #endif 49 #endif
50 error_console(switches::kErrorConsole, FeatureSwitch::DEFAULT_DISABLED), 50 error_console(switches::kErrorConsole, FeatureSwitch::DEFAULT_DISABLED),
51 enable_override_bookmarks_ui(switches::kEnableOverrideBookmarksUI, 51 enable_override_bookmarks_ui(switches::kEnableOverrideBookmarksUI,
52 FeatureSwitch::DEFAULT_DISABLED), 52 FeatureSwitch::DEFAULT_DISABLED),
53 extension_action_redesign(switches::kExtensionActionRedesign, 53 extension_action_redesign(switches::kExtensionActionRedesign,
54 kExtensionActionRedesignExperiment, 54 kExtensionActionRedesignExperiment,
55 FeatureSwitch::DEFAULT_DISABLED), 55 FeatureSwitch::DEFAULT_ENABLED),
56 extension_action_redesign_override(switches::kExtensionActionRedesign, 56 extension_action_redesign_override(switches::kExtensionActionRedesign,
57 FeatureSwitch::DEFAULT_ENABLED), 57 FeatureSwitch::DEFAULT_ENABLED),
58 scripts_require_action(switches::kScriptsRequireAction, 58 scripts_require_action(switches::kScriptsRequireAction,
59 FeatureSwitch::DEFAULT_DISABLED), 59 FeatureSwitch::DEFAULT_DISABLED),
60 embedded_extension_options(switches::kEmbeddedExtensionOptions, 60 embedded_extension_options(switches::kEmbeddedExtensionOptions,
61 FeatureSwitch::DEFAULT_DISABLED), 61 FeatureSwitch::DEFAULT_DISABLED),
62 trace_app_source(switches::kTraceAppSource, 62 trace_app_source(switches::kTraceAppSource,
63 FeatureSwitch::DEFAULT_ENABLED), 63 FeatureSwitch::DEFAULT_ENABLED),
64 media_router(kMediaRouterFlag, 64 media_router(kMediaRouterFlag,
65 std::vector<std::string>( 65 std::vector<std::string>(
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 void FeatureSwitch::SetOverrideValue(OverrideValue override_value) { 265 void FeatureSwitch::SetOverrideValue(OverrideValue override_value) {
266 override_value_ = override_value; 266 override_value_ = override_value;
267 } 267 }
268 268
269 FeatureSwitch::OverrideValue FeatureSwitch::GetOverrideValue() const { 269 FeatureSwitch::OverrideValue FeatureSwitch::GetOverrideValue() const {
270 return override_value_; 270 return override_value_;
271 } 271 }
272 272
273 } // namespace extensions 273 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698