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

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

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 5 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
« no previous file with comments | « extensions/common/feature_switch.h ('k') | extensions/common/features/base_feature_provider.cc » ('j') | 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"
11 #include "build/build_config.h"
11 #include "extensions/common/switches.h" 12 #include "extensions/common/switches.h"
12 13
13 namespace extensions { 14 namespace extensions {
14 15
15 namespace { 16 namespace {
16 17
17 const char kEnableMediaRouterExperiment[] = "EnableMediaRouter"; 18 const char kEnableMediaRouterExperiment[] = "EnableMediaRouter";
18 const char kEnableMediaRouterWithCastExtensionExperiment[] = 19 const char kEnableMediaRouterWithCastExtensionExperiment[] =
19 "EnableMediaRouterWithCastExtension"; 20 "EnableMediaRouterWithCastExtension";
20 const char kExtensionActionRedesignExperiment[] = "ExtensionActionRedesign"; 21 const char kExtensionActionRedesignExperiment[] = "ExtensionActionRedesign";
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 217
217 void FeatureSwitch::SetOverrideValue(OverrideValue override_value) { 218 void FeatureSwitch::SetOverrideValue(OverrideValue override_value) {
218 override_value_ = override_value; 219 override_value_ = override_value;
219 } 220 }
220 221
221 FeatureSwitch::OverrideValue FeatureSwitch::GetOverrideValue() const { 222 FeatureSwitch::OverrideValue FeatureSwitch::GetOverrideValue() const {
222 return override_value_; 223 return override_value_;
223 } 224 }
224 225
225 } // namespace extensions 226 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/feature_switch.h ('k') | extensions/common/features/base_feature_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698