| 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 2000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2011 {"enable-tab-discarding", | 2011 {"enable-tab-discarding", |
| 2012 IDS_FLAGS_ENABLE_TAB_DISCARDING_NAME, | 2012 IDS_FLAGS_ENABLE_TAB_DISCARDING_NAME, |
| 2013 IDS_FLAGS_ENABLE_TAB_DISCARDING_DESCRIPTION, | 2013 IDS_FLAGS_ENABLE_TAB_DISCARDING_DESCRIPTION, |
| 2014 kOsWin | kOsMac, | 2014 kOsWin | kOsMac, |
| 2015 SINGLE_VALUE_TYPE(switches::kEnableTabDiscarding)}, | 2015 SINGLE_VALUE_TYPE(switches::kEnableTabDiscarding)}, |
| 2016 #endif | 2016 #endif |
| 2017 {"enable-clear-browsing-data-counters", | 2017 {"enable-clear-browsing-data-counters", |
| 2018 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_NAME, | 2018 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_NAME, |
| 2019 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_DESCRIPTION, | 2019 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_DESCRIPTION, |
| 2020 kOsAll, | 2020 kOsAll, |
| 2021 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableClearBrowsingDataCounters, | 2021 SINGLE_VALUE_TYPE(switches::kEnableClearBrowsingDataCounters) |
| 2022 switches::kDisableClearBrowsingDataCounters) | |
| 2023 }, | 2022 }, |
| 2024 #if defined(ENABLE_TASK_MANAGER) | 2023 #if defined(ENABLE_TASK_MANAGER) |
| 2025 {"disable-new-task-manager", | 2024 {"disable-new-task-manager", |
| 2026 IDS_FLAGS_DISABLE_NEW_TASK_MANAGER_NAME, | 2025 IDS_FLAGS_DISABLE_NEW_TASK_MANAGER_NAME, |
| 2027 IDS_FLAGS_DISABLE_NEW_TASK_MANAGER_DESCRIPTION, | 2026 IDS_FLAGS_DISABLE_NEW_TASK_MANAGER_DESCRIPTION, |
| 2028 kOsDesktop, | 2027 kOsDesktop, |
| 2029 SINGLE_VALUE_TYPE(switches::kDisableNewTaskManager) | 2028 SINGLE_VALUE_TYPE(switches::kDisableNewTaskManager) |
| 2030 }, | 2029 }, |
| 2031 #endif // defined(ENABLE_TASK_MANAGER) | 2030 #endif // defined(ENABLE_TASK_MANAGER) |
| 2032 {"simplified-fullscreen-ui", | 2031 {"simplified-fullscreen-ui", |
| (...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2979 FlagsState::GetInstance()->SetFeatureEntries(entries, count); | 2978 FlagsState::GetInstance()->SetFeatureEntries(entries, count); |
| 2980 } | 2979 } |
| 2981 | 2980 |
| 2982 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2981 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2983 return FlagsState::GetInstance()->GetFeatureEntries(count); | 2982 return FlagsState::GetInstance()->GetFeatureEntries(count); |
| 2984 } | 2983 } |
| 2985 | 2984 |
| 2986 } // namespace testing | 2985 } // namespace testing |
| 2987 | 2986 |
| 2988 } // namespace about_flags | 2987 } // namespace about_flags |
| OLD | NEW |