OLD | NEW |
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 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_SWITCHES_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_SWITCHES_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_SWITCHES_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_SWITCHES_H_ |
7 | 7 |
| 8 #include "build/build_config.h" |
| 9 |
| 10 #ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES |
| 11 |
| 12 namespace { |
| 13 #include "components/autofill/core/common/autofill_switches.cc" |
| 14 } |
| 15 |
| 16 #else |
| 17 |
8 namespace autofill { | 18 namespace autofill { |
9 namespace switches { | 19 namespace switches { |
10 | 20 |
11 // All switches in alphabetical order. The switches should be documented | 21 // All switches in alphabetical order. The switches should be documented |
12 // alongside the definition of their values in the .cc file. | 22 // alongside the definition of their values in the .cc file. |
13 extern const char kAutocheckoutWhitelistUrl[]; | 23 extern const char kAutocheckoutWhitelistUrl[]; |
14 extern const char kAutofillServiceUrl[]; | 24 extern const char kAutofillServiceUrl[]; |
15 extern const char kBypassAutocheckoutWhitelist[]; | 25 extern const char kBypassAutocheckoutWhitelist[]; |
16 extern const char kDisableInteractiveAutocomplete[]; | 26 extern const char kDisableInteractiveAutocomplete[]; |
17 extern const char kEnableExperimentalFormFilling[]; | 27 extern const char kEnableExperimentalFormFilling[]; |
18 extern const char kEnableInteractiveAutocomplete[]; | 28 extern const char kEnableInteractiveAutocomplete[]; |
19 extern const char kShowAutofillTypePredictions[]; | 29 extern const char kShowAutofillTypePredictions[]; |
20 extern const char kWalletSecureServiceUrl[]; | 30 extern const char kWalletSecureServiceUrl[]; |
21 extern const char kWalletServiceUrl[]; | 31 extern const char kWalletServiceUrl[]; |
22 extern const char kWalletServiceUseProd[]; | 32 extern const char kWalletServiceUseProd[]; |
23 | 33 |
24 } // namespace switches | 34 } // namespace switches |
25 } // namespace autofill | 35 } // namespace autofill |
26 | 36 |
| 37 #endif // ENABLE_FAST_COMMAND_LINE_SWITCHES |
27 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_SWITCHES_H_ | 38 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_SWITCHES_H_ |
OLD | NEW |