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 1476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1487 IDS_FLAGS_CREDENTIAL_MANAGER_API_DESCRIPTION, kOsAll, | 1487 IDS_FLAGS_CREDENTIAL_MANAGER_API_DESCRIPTION, kOsAll, |
1488 FEATURE_VALUE_TYPE(features::kCredentialManagementAPI)}, | 1488 FEATURE_VALUE_TYPE(features::kCredentialManagementAPI)}, |
1489 {"reduced-referrer-granularity", | 1489 {"reduced-referrer-granularity", |
1490 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_NAME, | 1490 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_NAME, |
1491 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_DESCRIPTION, kOsAll, | 1491 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_DESCRIPTION, kOsAll, |
1492 SINGLE_VALUE_TYPE(switches::kReducedReferrerGranularity)}, | 1492 SINGLE_VALUE_TYPE(switches::kReducedReferrerGranularity)}, |
1493 #if defined(OS_CHROMEOS) | 1493 #if defined(OS_CHROMEOS) |
1494 {"disable-new-zip-unpacker", IDS_FLAGS_NEW_ZIP_UNPACKER_NAME, | 1494 {"disable-new-zip-unpacker", IDS_FLAGS_NEW_ZIP_UNPACKER_NAME, |
1495 IDS_FLAGS_NEW_ZIP_UNPACKER_DESCRIPTION, kOsCrOS, | 1495 IDS_FLAGS_NEW_ZIP_UNPACKER_DESCRIPTION, kOsCrOS, |
1496 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableNewZIPUnpacker)}, | 1496 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableNewZIPUnpacker)}, |
| 1497 #endif // defined(OS_CHROMEOS) |
| 1498 #if defined(OS_ANDROID) |
| 1499 {"enable-credit-card-assist", IDS_FLAGS_CREDIT_CARD_ASSIST_NAME, |
| 1500 IDS_FLAGS_CREDIT_CARD_ASSIST_DESCRIPTION, kOsAndroid, |
| 1501 FEATURE_VALUE_TYPE(autofill::kAutofillCreditCardAssist)}, |
| 1502 #endif // defined(OS_ANDROID) |
| 1503 #if defined(OS_CHROMEOS) |
1497 {"disable-captive-portal-bypass-proxy", | 1504 {"disable-captive-portal-bypass-proxy", |
1498 IDS_FLAGS_CAPTIVE_PORTAL_BYPASS_PROXY_NAME, | 1505 IDS_FLAGS_CAPTIVE_PORTAL_BYPASS_PROXY_NAME, |
1499 IDS_FLAGS_CAPTIVE_PORTAL_BYPASS_PROXY_DESCRIPTION, kOsCrOS, | 1506 IDS_FLAGS_CAPTIVE_PORTAL_BYPASS_PROXY_DESCRIPTION, kOsCrOS, |
1500 SINGLE_DISABLE_VALUE_TYPE( | 1507 SINGLE_DISABLE_VALUE_TYPE( |
1501 chromeos::switches::kDisableCaptivePortalBypassProxy)}, | 1508 chromeos::switches::kDisableCaptivePortalBypassProxy)}, |
1502 #endif // defined(OS_CHROMEOS) | 1509 #endif // defined(OS_CHROMEOS) |
1503 #if defined(OS_ANDROID) | 1510 #if defined(OS_ANDROID) |
1504 {"enable-seccomp-sandbox-android", | 1511 {"enable-seccomp-sandbox-android", |
1505 IDS_FLAGS_SECCOMP_FILTER_SANDBOX_ANDROID_NAME, | 1512 IDS_FLAGS_SECCOMP_FILTER_SANDBOX_ANDROID_NAME, |
1506 IDS_FLAGS_SECCOMP_FILTER_SANDBOX_ANDROID_DESCRIPTION, kOsAndroid, | 1513 IDS_FLAGS_SECCOMP_FILTER_SANDBOX_ANDROID_DESCRIPTION, kOsAndroid, |
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2226 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2233 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2227 | 2234 |
2228 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2235 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2229 *count = arraysize(kFeatureEntries); | 2236 *count = arraysize(kFeatureEntries); |
2230 return kFeatureEntries; | 2237 return kFeatureEntries; |
2231 } | 2238 } |
2232 | 2239 |
2233 } // namespace testing | 2240 } // namespace testing |
2234 | 2241 |
2235 } // namespace about_flags | 2242 } // namespace about_flags |
OLD | NEW |