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 1996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2007 kOsAndroid, | 2007 kOsAndroid, |
2008 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableWebNotificationCustomLayouts, | 2008 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableWebNotificationCustomLayouts, |
2009 switches::kDisableWebNotificationCustomLayouts)}, | 2009 switches::kDisableWebNotificationCustomLayouts)}, |
2010 #endif // defined(ENABLE_NOTIFICATIONS) && defined(OS_ANDROID) | 2010 #endif // defined(ENABLE_NOTIFICATIONS) && defined(OS_ANDROID) |
2011 #if defined(OS_WIN) | 2011 #if defined(OS_WIN) |
2012 {"enable-appcontainer", IDS_FLAGS_ENABLE_APPCONTAINER_NAME, | 2012 {"enable-appcontainer", IDS_FLAGS_ENABLE_APPCONTAINER_NAME, |
2013 IDS_FLAGS_ENABLE_APPCONTAINER_DESCRIPTION, kOsWin, | 2013 IDS_FLAGS_ENABLE_APPCONTAINER_DESCRIPTION, kOsWin, |
2014 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppContainer, | 2014 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppContainer, |
2015 switches::kDisableAppContainer)}, | 2015 switches::kDisableAppContainer)}, |
2016 #endif // defined(OS_WIN) | 2016 #endif // defined(OS_WIN) |
| 2017 #if !defined(DISABLE_BROTLI_SUPPORT) |
| 2018 {"enable-brotli", |
| 2019 IDS_FLAGS_ENABLE_BROTLI_NAME, |
| 2020 IDS_FLAGS_ENABLE_BROTLI_DESCRIPTION, |
| 2021 kOsAll, |
| 2022 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableBrotli, |
| 2023 switches::kDisableBrotli)}, |
| 2024 #endif |
2017 #if defined(OS_ANDROID) | 2025 #if defined(OS_ANDROID) |
2018 {"disable-auto-hiding-toolbar-threshold", | 2026 {"disable-auto-hiding-toolbar-threshold", |
2019 IDS_FLAGS_DISABLE_AUTO_HIDING_TOOLBAR_NAME, | 2027 IDS_FLAGS_DISABLE_AUTO_HIDING_TOOLBAR_NAME, |
2020 IDS_FLAGS_DISABLE_AUTO_HIDING_TOOLBAR_DESCRIPTION, | 2028 IDS_FLAGS_DISABLE_AUTO_HIDING_TOOLBAR_DESCRIPTION, |
2021 kOsAndroid, | 2029 kOsAndroid, |
2022 SINGLE_VALUE_TYPE_AND_VALUE(switches::kDisableAutoHidingToolbarThreshold, | 2030 SINGLE_VALUE_TYPE_AND_VALUE(switches::kDisableAutoHidingToolbarThreshold, |
2023 "800")}, | 2031 "800")}, |
2024 #endif | 2032 #endif |
2025 #if defined(TOOLKIT_VIEWS) | 2033 #if defined(TOOLKIT_VIEWS) |
2026 {"enable-autofill-credit-card-upload", | 2034 {"enable-autofill-credit-card-upload", |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2267 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2275 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2268 | 2276 |
2269 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2277 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2270 *count = arraysize(kFeatureEntries); | 2278 *count = arraysize(kFeatureEntries); |
2271 return kFeatureEntries; | 2279 return kFeatureEntries; |
2272 } | 2280 } |
2273 | 2281 |
2274 } // namespace testing | 2282 } // namespace testing |
2275 | 2283 |
2276 } // namespace about_flags | 2284 } // namespace about_flags |
OLD | NEW |