Chromium Code Reviews| 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 1986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1997 {"enable-tab-discarding", | 1997 {"enable-tab-discarding", |
| 1998 IDS_FLAGS_ENABLE_TAB_DISCARDING_NAME, | 1998 IDS_FLAGS_ENABLE_TAB_DISCARDING_NAME, |
| 1999 IDS_FLAGS_ENABLE_TAB_DISCARDING_DESCRIPTION, | 1999 IDS_FLAGS_ENABLE_TAB_DISCARDING_DESCRIPTION, |
| 2000 kOsWin | kOsMac, | 2000 kOsWin | kOsMac, |
| 2001 SINGLE_VALUE_TYPE(switches::kEnableTabDiscarding)}, | 2001 SINGLE_VALUE_TYPE(switches::kEnableTabDiscarding)}, |
| 2002 #endif | 2002 #endif |
| 2003 {"enable-clear-browsing-data-counters", | 2003 {"enable-clear-browsing-data-counters", |
| 2004 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_NAME, | 2004 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_NAME, |
| 2005 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_DESCRIPTION, | 2005 IDS_FLAGS_ENABLE_CLEAR_BROWSING_DATA_COUNTERS_DESCRIPTION, |
| 2006 kOsAll, | 2006 kOsAll, |
| 2007 SINGLE_VALUE_TYPE(switches::kEnableClearBrowsingDataCounters) | 2007 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableClearBrowsingDataCounters, |
| 2008 switches::kDisableClearBrowsingDataCounters) | |
|
Peter Mayo
2015/11/09 21:46:29
This includes OS_CHROMEOS.
It doesn't seem like t
msramek
2015/11/09 22:48:04
Hm, I see the problem in HistoryCounter. It's not
| |
| 2008 }, | 2009 }, |
| 2009 #if defined(ENABLE_TASK_MANAGER) | 2010 #if defined(ENABLE_TASK_MANAGER) |
| 2010 {"disable-new-task-manager", | 2011 {"disable-new-task-manager", |
| 2011 IDS_FLAGS_DISABLE_NEW_TASK_MANAGER_NAME, | 2012 IDS_FLAGS_DISABLE_NEW_TASK_MANAGER_NAME, |
| 2012 IDS_FLAGS_DISABLE_NEW_TASK_MANAGER_DESCRIPTION, | 2013 IDS_FLAGS_DISABLE_NEW_TASK_MANAGER_DESCRIPTION, |
| 2013 kOsDesktop, | 2014 kOsDesktop, |
| 2014 SINGLE_VALUE_TYPE(switches::kDisableNewTaskManager) | 2015 SINGLE_VALUE_TYPE(switches::kDisableNewTaskManager) |
| 2015 }, | 2016 }, |
| 2016 #endif // defined(ENABLE_TASK_MANAGER) | 2017 #endif // defined(ENABLE_TASK_MANAGER) |
| 2017 {"simplified-fullscreen-ui", | 2018 {"simplified-fullscreen-ui", |
| (...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2964 FlagsState::GetInstance()->SetFeatureEntries(entries, count); | 2965 FlagsState::GetInstance()->SetFeatureEntries(entries, count); |
| 2965 } | 2966 } |
| 2966 | 2967 |
| 2967 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2968 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2968 return FlagsState::GetInstance()->GetFeatureEntries(count); | 2969 return FlagsState::GetInstance()->GetFeatureEntries(count); |
| 2969 } | 2970 } |
| 2970 | 2971 |
| 2971 } // namespace testing | 2972 } // namespace testing |
| 2972 | 2973 |
| 2973 } // namespace about_flags | 2974 } // namespace about_flags |
| OLD | NEW |