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 <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1254 }, | 1254 }, |
1255 { | 1255 { |
1256 "enable-password-generation", | 1256 "enable-password-generation", |
1257 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_NAME, | 1257 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_NAME, |
1258 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_DESCRIPTION, | 1258 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_DESCRIPTION, |
1259 kOsDesktop, | 1259 kOsDesktop, |
1260 ENABLE_DISABLE_VALUE_TYPE(autofill::switches::kEnablePasswordGeneration, | 1260 ENABLE_DISABLE_VALUE_TYPE(autofill::switches::kEnablePasswordGeneration, |
1261 autofill::switches::kDisablePasswordGeneration) | 1261 autofill::switches::kDisablePasswordGeneration) |
1262 }, | 1262 }, |
1263 { | 1263 { |
1264 "enable-password-manager-reauthentication", | |
1265 IDS_FLAGS_PASSWORD_MANAGER_REAUTHENTICATION_NAME, | |
1266 IDS_FLAGS_PASSWORD_MANAGER_REAUTHENTICATION_DESCRIPTION, | |
1267 kOsMac, | |
1268 ENABLE_DISABLE_VALUE_TYPE( | |
Nico
2013/10/18 14:47:57
Isn't a SINGLE_VALUE_TYPE for the enable flag enou
Patrick Dubroy
2013/10/18 15:24:01
I've done this for features before with the intent
Patrick Dubroy
2013/10/21 12:53:32
Done.
| |
1269 switches::kEnablePasswordManagerReauthentication, | |
1270 switches::kDisablePasswordManagerReauthentication) | |
1271 }, | |
1272 { | |
1264 "enable-people-search", | 1273 "enable-people-search", |
1265 IDS_FLAGS_ENABLE_PEOPLE_SEARCH_NAME, | 1274 IDS_FLAGS_ENABLE_PEOPLE_SEARCH_NAME, |
1266 IDS_FLAGS_ENABLE_PEOPLE_SEARCH_DESCRIPTION, | 1275 IDS_FLAGS_ENABLE_PEOPLE_SEARCH_DESCRIPTION, |
1267 kOsMac | kOsWin | kOsCrOS, | 1276 kOsMac | kOsWin | kOsCrOS, |
1268 SINGLE_VALUE_TYPE(switches::kEnablePeopleSearch) | 1277 SINGLE_VALUE_TYPE(switches::kEnablePeopleSearch) |
1269 }, | 1278 }, |
1270 { | 1279 { |
1271 "password-autofill-public-suffix-domain-matching", | 1280 "password-autofill-public-suffix-domain-matching", |
1272 IDS_FLAGS_PASSWORD_AUTOFILL_PUBLIC_SUFFIX_DOMAIN_MATCHING_NAME, | 1281 IDS_FLAGS_PASSWORD_AUTOFILL_PUBLIC_SUFFIX_DOMAIN_MATCHING_NAME, |
1273 IDS_FLAGS_PASSWORD_AUTOFILL_PUBLIC_SUFFIX_DOMAIN_MATCHING_DESCRIPTION, | 1282 IDS_FLAGS_PASSWORD_AUTOFILL_PUBLIC_SUFFIX_DOMAIN_MATCHING_DESCRIPTION, |
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2257 } | 2266 } |
2258 | 2267 |
2259 const Experiment* GetExperiments(size_t* count) { | 2268 const Experiment* GetExperiments(size_t* count) { |
2260 *count = num_experiments; | 2269 *count = num_experiments; |
2261 return experiments; | 2270 return experiments; |
2262 } | 2271 } |
2263 | 2272 |
2264 } // namespace testing | 2273 } // namespace testing |
2265 | 2274 |
2266 } // namespace about_flags | 2275 } // namespace about_flags |
OLD | NEW |