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/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
6 | 6 |
7 #include <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 2036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2047 SINGLE_VALUE_TYPE(switches::kEnableSeccompFilterSandbox) | 2047 SINGLE_VALUE_TYPE(switches::kEnableSeccompFilterSandbox) |
2048 }, | 2048 }, |
2049 #endif | 2049 #endif |
2050 { | 2050 { |
2051 "enable-touch-hover", | 2051 "enable-touch-hover", |
2052 IDS_FLAGS_ENABLE_TOUCH_HOVER_NAME, | 2052 IDS_FLAGS_ENABLE_TOUCH_HOVER_NAME, |
2053 IDS_FLAGS_ENABLE_TOUCH_HOVER_DESCRIPTION, | 2053 IDS_FLAGS_ENABLE_TOUCH_HOVER_DESCRIPTION, |
2054 kOsAndroid, | 2054 kOsAndroid, |
2055 SINGLE_VALUE_TYPE("enable-touch-hover") | 2055 SINGLE_VALUE_TYPE("enable-touch-hover") |
2056 }, | 2056 }, |
| 2057 { |
| 2058 "enable-fill-on-account-select", |
| 2059 IDS_FILL_ON_ACCOUNT_SELECT_NAME, |
| 2060 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION, |
| 2061 kOsAll, |
| 2062 ENABLE_DISABLE_VALUE_TYPE(autofill::switches::kEnableFillOnAccountSelect, |
| 2063 autofill::switches::kDisableFillOnAccountSelect) |
| 2064 }, |
2057 | 2065 |
2058 // NOTE: Adding new command-line switches requires adding corresponding | 2066 // NOTE: Adding new command-line switches requires adding corresponding |
2059 // entries to enum "LoginCustomFlags" in histograms.xml. See note in | 2067 // entries to enum "LoginCustomFlags" in histograms.xml. See note in |
2060 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. | 2068 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. |
2061 }; | 2069 }; |
2062 | 2070 |
2063 const Experiment* experiments = kExperiments; | 2071 const Experiment* experiments = kExperiments; |
2064 size_t num_experiments = arraysize(kExperiments); | 2072 size_t num_experiments = arraysize(kExperiments); |
2065 | 2073 |
2066 // Stores and encapsulates the little state that about:flags has. | 2074 // Stores and encapsulates the little state that about:flags has. |
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2626 } | 2634 } |
2627 | 2635 |
2628 const Experiment* GetExperiments(size_t* count) { | 2636 const Experiment* GetExperiments(size_t* count) { |
2629 *count = num_experiments; | 2637 *count = num_experiments; |
2630 return experiments; | 2638 return experiments; |
2631 } | 2639 } |
2632 | 2640 |
2633 } // namespace testing | 2641 } // namespace testing |
2634 | 2642 |
2635 } // namespace about_flags | 2643 } // namespace about_flags |
OLD | NEW |