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 #ifndef CHROME_COMMON_EXTENSIONS_FEATURE_SWITCH_H_ | 5 #ifndef EXTENSIONS_COMMON_FEATURE_SWITCH_H_ |
6 #define CHROME_COMMON_EXTENSIONS_FEATURE_SWITCH_H_ | 6 #define EXTENSIONS_COMMON_FEATURE_SWITCH_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 | 11 |
12 class CommandLine; | 12 class CommandLine; |
13 | 13 |
14 namespace extensions { | 14 namespace extensions { |
15 | 15 |
16 // A switch that can turn a feature on or off. Typically controlled via | 16 // A switch that can turn a feature on or off. Typically controlled via |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 const CommandLine* command_line_; | 69 const CommandLine* command_line_; |
70 const char* switch_name_; | 70 const char* switch_name_; |
71 bool default_value_; | 71 bool default_value_; |
72 OverrideValue override_value_; | 72 OverrideValue override_value_; |
73 | 73 |
74 DISALLOW_COPY_AND_ASSIGN(FeatureSwitch); | 74 DISALLOW_COPY_AND_ASSIGN(FeatureSwitch); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace extensions | 77 } // namespace extensions |
78 | 78 |
79 #endif // CHROME_COMMON_EXTENSIONS_FEATURE_SWITCH_H_ | 79 #endif // EXTENSIONS_COMMON_FEATURE_SWITCH_H_ |
OLD | NEW |