| 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 1674 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1685     {"enable-push-api-background-mode", IDS_FLAGS_PUSH_API_BACKGROUND_MODE_NAME, | 1685     {"enable-push-api-background-mode", IDS_FLAGS_PUSH_API_BACKGROUND_MODE_NAME, | 
| 1686      IDS_FLAGS_PUSH_API_BACKGROUND_MODE_DESCRIPTION, kOsMac | kOsWin | kOsLinux, | 1686      IDS_FLAGS_PUSH_API_BACKGROUND_MODE_DESCRIPTION, kOsMac | kOsWin | kOsLinux, | 
| 1687      ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePushApiBackgroundMode, | 1687      ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePushApiBackgroundMode, | 
| 1688                                switches::kDisablePushApiBackgroundMode)}, | 1688                                switches::kDisablePushApiBackgroundMode)}, | 
| 1689 #endif  // BUILDFLAG(ENABLE_BACKGROUND) | 1689 #endif  // BUILDFLAG(ENABLE_BACKGROUND) | 
| 1690 #if defined(OS_CHROMEOS) | 1690 #if defined(OS_CHROMEOS) | 
| 1691     {"cros-regions-mode", IDS_FLAGS_CROS_REGIONS_MODE_NAME, | 1691     {"cros-regions-mode", IDS_FLAGS_CROS_REGIONS_MODE_NAME, | 
| 1692      IDS_FLAGS_CROS_REGIONS_MODE_DESCRIPTION, kOsCrOS, | 1692      IDS_FLAGS_CROS_REGIONS_MODE_DESCRIPTION, kOsCrOS, | 
| 1693      MULTI_VALUE_TYPE(kCrosRegionsModeChoices)}, | 1693      MULTI_VALUE_TYPE(kCrosRegionsModeChoices)}, | 
| 1694 #endif  // OS_CHROMEOS | 1694 #endif  // OS_CHROMEOS | 
| 1695 #if defined(ENABLE_NOTIFICATIONS) && defined(OS_ANDROID) | 1695 #if defined(OS_ANDROID) | 
| 1696     {"enable-web-notification-custom-layouts", | 1696     {"enable-web-notification-custom-layouts", | 
| 1697      IDS_FLAGS_ENABLE_WEB_NOTIFICATION_CUSTOM_LAYOUTS_NAME, | 1697      IDS_FLAGS_ENABLE_WEB_NOTIFICATION_CUSTOM_LAYOUTS_NAME, | 
| 1698      IDS_FLAGS_ENABLE_WEB_NOTIFICATION_CUSTOM_LAYOUTS_DESCRIPTION, kOsAndroid, | 1698      IDS_FLAGS_ENABLE_WEB_NOTIFICATION_CUSTOM_LAYOUTS_DESCRIPTION, kOsAndroid, | 
| 1699      ENABLE_DISABLE_VALUE_TYPE(switches::kEnableWebNotificationCustomLayouts, | 1699      ENABLE_DISABLE_VALUE_TYPE(switches::kEnableWebNotificationCustomLayouts, | 
| 1700                                switches::kDisableWebNotificationCustomLayouts)}, | 1700                                switches::kDisableWebNotificationCustomLayouts)}, | 
| 1701 #endif  // ENABLE_NOTIFICATIONS && OS_ANDROID | 1701 #endif  // OS_ANDROID | 
| 1702 #if defined(OS_WIN) | 1702 #if defined(OS_WIN) | 
| 1703     {"enable-appcontainer", IDS_FLAGS_ENABLE_APPCONTAINER_NAME, | 1703     {"enable-appcontainer", IDS_FLAGS_ENABLE_APPCONTAINER_NAME, | 
| 1704      IDS_FLAGS_ENABLE_APPCONTAINER_DESCRIPTION, kOsWin, | 1704      IDS_FLAGS_ENABLE_APPCONTAINER_DESCRIPTION, kOsWin, | 
| 1705      ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppContainer, | 1705      ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppContainer, | 
| 1706                                switches::kDisableAppContainer)}, | 1706                                switches::kDisableAppContainer)}, | 
| 1707 #endif  // OS_WIN | 1707 #endif  // OS_WIN | 
| 1708 #if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID) | 1708 #if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID) | 
| 1709     {"enable-autofill-credit-card-upload", | 1709     {"enable-autofill-credit-card-upload", | 
| 1710      IDS_FLAGS_AUTOFILL_CREDIT_CARD_UPLOAD_NAME, | 1710      IDS_FLAGS_AUTOFILL_CREDIT_CARD_UPLOAD_NAME, | 
| 1711      IDS_FLAGS_AUTOFILL_CREDIT_CARD_UPLOAD_DESCRIPTION, kOsAll, | 1711      IDS_FLAGS_AUTOFILL_CREDIT_CARD_UPLOAD_DESCRIPTION, kOsAll, | 
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2319 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2319 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 
| 2320 | 2320 | 
| 2321 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2321 const FeatureEntry* GetFeatureEntries(size_t* count) { | 
| 2322   *count = arraysize(kFeatureEntries); | 2322   *count = arraysize(kFeatureEntries); | 
| 2323   return kFeatureEntries; | 2323   return kFeatureEntries; | 
| 2324 } | 2324 } | 
| 2325 | 2325 | 
| 2326 }  // namespace testing | 2326 }  // namespace testing | 
| 2327 | 2327 | 
| 2328 }  // namespace about_flags | 2328 }  // namespace about_flags | 
| OLD | NEW | 
|---|