OLD | NEW |
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/strings/string_util.h" |
11 #include "chrome/common/chrome_switches.h" | 11 #include "chrome/common/chrome_switches.h" |
12 | 12 |
13 namespace extensions { | 13 namespace extensions { |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 class CommonSwitches { | 17 class CommonSwitches { |
18 public: | 18 public: |
19 CommonSwitches() | 19 CommonSwitches() |
20 : action_box( | 20 : action_box( |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 139 |
140 void FeatureSwitch::SetOverrideValue(OverrideValue override_value) { | 140 void FeatureSwitch::SetOverrideValue(OverrideValue override_value) { |
141 override_value_ = override_value; | 141 override_value_ = override_value; |
142 } | 142 } |
143 | 143 |
144 FeatureSwitch::OverrideValue FeatureSwitch::GetOverrideValue() const { | 144 FeatureSwitch::OverrideValue FeatureSwitch::GetOverrideValue() const { |
145 return override_value_; | 145 return override_value_; |
146 } | 146 } |
147 | 147 |
148 } // namespace extensions | 148 } // namespace extensions |
OLD | NEW |