| 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 1480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1491 IDS_FLAGS_CREDENTIAL_MANAGER_API_DESCRIPTION, kOsAll, | 1491 IDS_FLAGS_CREDENTIAL_MANAGER_API_DESCRIPTION, kOsAll, |
| 1492 FEATURE_VALUE_TYPE(features::kCredentialManagementAPI)}, | 1492 FEATURE_VALUE_TYPE(features::kCredentialManagementAPI)}, |
| 1493 {"reduced-referrer-granularity", | 1493 {"reduced-referrer-granularity", |
| 1494 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_NAME, | 1494 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_NAME, |
| 1495 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_DESCRIPTION, kOsAll, | 1495 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_DESCRIPTION, kOsAll, |
| 1496 SINGLE_VALUE_TYPE(switches::kReducedReferrerGranularity)}, | 1496 SINGLE_VALUE_TYPE(switches::kReducedReferrerGranularity)}, |
| 1497 #if defined(OS_CHROMEOS) | 1497 #if defined(OS_CHROMEOS) |
| 1498 {"disable-new-zip-unpacker", IDS_FLAGS_NEW_ZIP_UNPACKER_NAME, | 1498 {"disable-new-zip-unpacker", IDS_FLAGS_NEW_ZIP_UNPACKER_NAME, |
| 1499 IDS_FLAGS_NEW_ZIP_UNPACKER_DESCRIPTION, kOsCrOS, | 1499 IDS_FLAGS_NEW_ZIP_UNPACKER_DESCRIPTION, kOsCrOS, |
| 1500 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableNewZIPUnpacker)}, | 1500 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableNewZIPUnpacker)}, |
| 1501 #endif // defined(OS_CHROMEOS) |
| 1502 #if defined(OS_ANDROID) |
| 1503 {"enable-credit-card-assist", IDS_FLAGS_CREDIT_CARD_ASSIST_NAME, |
| 1504 IDS_FLAGS_CREDIT_CARD_ASSIST_DESCRIPTION, kOsAndroid, |
| 1505 FEATURE_VALUE_TYPE(autofill::kAutofillCreditCardAssist)}, |
| 1506 #endif // defined(OS_ANDROID) |
| 1507 #if defined(OS_CHROMEOS) |
| 1501 {"disable-captive-portal-bypass-proxy", | 1508 {"disable-captive-portal-bypass-proxy", |
| 1502 IDS_FLAGS_CAPTIVE_PORTAL_BYPASS_PROXY_NAME, | 1509 IDS_FLAGS_CAPTIVE_PORTAL_BYPASS_PROXY_NAME, |
| 1503 IDS_FLAGS_CAPTIVE_PORTAL_BYPASS_PROXY_DESCRIPTION, kOsCrOS, | 1510 IDS_FLAGS_CAPTIVE_PORTAL_BYPASS_PROXY_DESCRIPTION, kOsCrOS, |
| 1504 SINGLE_DISABLE_VALUE_TYPE( | 1511 SINGLE_DISABLE_VALUE_TYPE( |
| 1505 chromeos::switches::kDisableCaptivePortalBypassProxy)}, | 1512 chromeos::switches::kDisableCaptivePortalBypassProxy)}, |
| 1506 #endif // defined(OS_CHROMEOS) | 1513 #endif // defined(OS_CHROMEOS) |
| 1507 #if defined(OS_ANDROID) | 1514 #if defined(OS_ANDROID) |
| 1508 {"enable-seccomp-sandbox-android", | 1515 {"enable-seccomp-sandbox-android", |
| 1509 IDS_FLAGS_SECCOMP_FILTER_SANDBOX_ANDROID_NAME, | 1516 IDS_FLAGS_SECCOMP_FILTER_SANDBOX_ANDROID_NAME, |
| 1510 IDS_FLAGS_SECCOMP_FILTER_SANDBOX_ANDROID_DESCRIPTION, kOsAndroid, | 1517 IDS_FLAGS_SECCOMP_FILTER_SANDBOX_ANDROID_DESCRIPTION, kOsAndroid, |
| (...skipping 715 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 |