| 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 1824 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1835                                switches::kDisableAddToShelf)}, |  1835                                switches::kDisableAddToShelf)}, | 
|  1836     {"bypass-app-banner-engagement-checks", |  1836     {"bypass-app-banner-engagement-checks", | 
|  1837      flag_descriptions::kBypassAppBannerEngagementChecksName, |  1837      flag_descriptions::kBypassAppBannerEngagementChecksName, | 
|  1838      flag_descriptions::kBypassAppBannerEngagementChecksDescription, kOsAll, |  1838      flag_descriptions::kBypassAppBannerEngagementChecksDescription, kOsAll, | 
|  1839      SINGLE_VALUE_TYPE(switches::kBypassAppBannerEngagementChecks)}, |  1839      SINGLE_VALUE_TYPE(switches::kBypassAppBannerEngagementChecks)}, | 
|  1840     {"use-sync-sandbox", flag_descriptions::kSyncSandboxName, |  1840     {"use-sync-sandbox", flag_descriptions::kSyncSandboxName, | 
|  1841      flag_descriptions::kSyncSandboxDescription, kOsAll, |  1841      flag_descriptions::kSyncSandboxDescription, kOsAll, | 
|  1842      SINGLE_VALUE_TYPE_AND_VALUE( |  1842      SINGLE_VALUE_TYPE_AND_VALUE( | 
|  1843          switches::kSyncServiceURL, |  1843          switches::kSyncServiceURL, | 
|  1844          "https://chrome-sync.sandbox.google.com/chrome-sync/alpha")}, |  1844          "https://chrome-sync.sandbox.google.com/chrome-sync/alpha")}, | 
|  1845 #if defined(ENABLE_MEDIA_ROUTER) && !defined(OS_ANDROID) |  1845 #if !defined(OS_ANDROID) | 
|  1846     {"load-media-router-component-extension", |  1846     {"load-media-router-component-extension", | 
|  1847      flag_descriptions::kLoadMediaRouterComponentExtensionName, |  1847      flag_descriptions::kLoadMediaRouterComponentExtensionName, | 
|  1848      flag_descriptions::kLoadMediaRouterComponentExtensionDescription, |  1848      flag_descriptions::kLoadMediaRouterComponentExtensionDescription, | 
|  1849      kOsDesktop, |  1849      kOsDesktop, | 
|  1850      ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |  1850      ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( | 
|  1851          switches::kLoadMediaRouterComponentExtension, |  1851          switches::kLoadMediaRouterComponentExtension, | 
|  1852          "1", |  1852          "1", | 
|  1853          switches::kLoadMediaRouterComponentExtension, |  1853          switches::kLoadMediaRouterComponentExtension, | 
|  1854          "0")}, |  1854          "0")}, | 
|  1855 #endif  // ENABLE_MEDIA_ROUTER && !OS_ANDROID |  1855 #endif  // !OS_ANDROID | 
|  1856 // Since Drive Search is not available when app list is disabled, flag guard |  1856 // Since Drive Search is not available when app list is disabled, flag guard | 
|  1857 // enable-drive-search-in-chrome-launcher flag. |  1857 // enable-drive-search-in-chrome-launcher flag. | 
|  1858 #if BUILDFLAG(ENABLE_APP_LIST) |  1858 #if BUILDFLAG(ENABLE_APP_LIST) | 
|  1859     {"enable-drive-search-in-app-launcher", |  1859     {"enable-drive-search-in-app-launcher", | 
|  1860      flag_descriptions::kDriveSearchInChromeLauncher, |  1860      flag_descriptions::kDriveSearchInChromeLauncher, | 
|  1861      flag_descriptions::kDriveSearchInChromeLauncherDescription, kOsCrOS, |  1861      flag_descriptions::kDriveSearchInChromeLauncherDescription, kOsCrOS, | 
|  1862      ENABLE_DISABLE_VALUE_TYPE( |  1862      ENABLE_DISABLE_VALUE_TYPE( | 
|  1863          app_list::switches::kEnableDriveSearchInChromeLauncher, |  1863          app_list::switches::kEnableDriveSearchInChromeLauncher, | 
|  1864          app_list::switches::kDisableDriveSearchInChromeLauncher)}, |  1864          app_list::switches::kDisableDriveSearchInChromeLauncher)}, | 
|  1865 #endif  // BUILDFLAG(ENABLE_APP_LIST) |  1865 #endif  // BUILDFLAG(ENABLE_APP_LIST) | 
| (...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2967 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |  2967 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 
|  2968  |  2968  | 
|  2969 const FeatureEntry* GetFeatureEntries(size_t* count) { |  2969 const FeatureEntry* GetFeatureEntries(size_t* count) { | 
|  2970   *count = arraysize(kFeatureEntries); |  2970   *count = arraysize(kFeatureEntries); | 
|  2971   return kFeatureEntries; |  2971   return kFeatureEntries; | 
|  2972 } |  2972 } | 
|  2973  |  2973  | 
|  2974 }  // namespace testing |  2974 }  // namespace testing | 
|  2975  |  2975  | 
|  2976 }  // namespace about_flags |  2976 }  // namespace about_flags | 
| OLD | NEW |