| 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 1976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1987 FEATURE_VALUE_TYPE(previews::features::kClientLoFi)}, | 1987 FEATURE_VALUE_TYPE(previews::features::kClientLoFi)}, |
| 1988 #endif // OS_ANDROID | 1988 #endif // OS_ANDROID |
| 1989 {"allow-insecure-localhost", flag_descriptions::kAllowInsecureLocalhostName, | 1989 {"allow-insecure-localhost", flag_descriptions::kAllowInsecureLocalhostName, |
| 1990 flag_descriptions::kAllowInsecureLocalhostDescription, kOsAll, | 1990 flag_descriptions::kAllowInsecureLocalhostDescription, kOsAll, |
| 1991 SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)}, | 1991 SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)}, |
| 1992 #if !defined(OS_ANDROID) | 1992 #if !defined(OS_ANDROID) |
| 1993 {"enable-app-banners", flag_descriptions::kAppBannersName, | 1993 {"enable-app-banners", flag_descriptions::kAppBannersName, |
| 1994 flag_descriptions::kAppBannersDescription, kOsDesktop, | 1994 flag_descriptions::kAppBannersDescription, kOsDesktop, |
| 1995 FEATURE_VALUE_TYPE(features::kAppBanners)}, | 1995 FEATURE_VALUE_TYPE(features::kAppBanners)}, |
| 1996 #endif // !OS_ANDROID | 1996 #endif // !OS_ANDROID |
| 1997 {"enable-experimental-app-banners", |
| 1998 flag_descriptions::kExperimentalAppBannersName, |
| 1999 flag_descriptions::kExperimentalAppBannersDescription, kOsAll, |
| 2000 FEATURE_VALUE_TYPE(features::kExperimentalAppBanners)}, |
| 1997 {"bypass-app-banner-engagement-checks", | 2001 {"bypass-app-banner-engagement-checks", |
| 1998 flag_descriptions::kBypassAppBannerEngagementChecksName, | 2002 flag_descriptions::kBypassAppBannerEngagementChecksName, |
| 1999 flag_descriptions::kBypassAppBannerEngagementChecksDescription, kOsAll, | 2003 flag_descriptions::kBypassAppBannerEngagementChecksDescription, kOsAll, |
| 2000 SINGLE_VALUE_TYPE(switches::kBypassAppBannerEngagementChecks)}, | 2004 SINGLE_VALUE_TYPE(switches::kBypassAppBannerEngagementChecks)}, |
| 2001 {"use-sync-sandbox", flag_descriptions::kSyncSandboxName, | 2005 {"use-sync-sandbox", flag_descriptions::kSyncSandboxName, |
| 2002 flag_descriptions::kSyncSandboxDescription, kOsAll, | 2006 flag_descriptions::kSyncSandboxDescription, kOsAll, |
| 2003 SINGLE_VALUE_TYPE_AND_VALUE( | 2007 SINGLE_VALUE_TYPE_AND_VALUE( |
| 2004 switches::kSyncServiceURL, | 2008 switches::kSyncServiceURL, |
| 2005 "https://chrome-sync.sandbox.google.com/chrome-sync/alpha")}, | 2009 "https://chrome-sync.sandbox.google.com/chrome-sync/alpha")}, |
| 2006 #if !defined(OS_ANDROID) | 2010 #if !defined(OS_ANDROID) |
| (...skipping 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3322 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3326 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 3323 | 3327 |
| 3324 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3328 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 3325 *count = arraysize(kFeatureEntries); | 3329 *count = arraysize(kFeatureEntries); |
| 3326 return kFeatureEntries; | 3330 return kFeatureEntries; |
| 3327 } | 3331 } |
| 3328 | 3332 |
| 3329 } // namespace testing | 3333 } // namespace testing |
| 3330 | 3334 |
| 3331 } // namespace about_flags | 3335 } // namespace about_flags |
| OLD | NEW |