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 1988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1999 kOsAll, | 1999 kOsAll, |
2000 SINGLE_VALUE_TYPE(switches::kEnableCredentialManagerAPI) | 2000 SINGLE_VALUE_TYPE(switches::kEnableCredentialManagerAPI) |
2001 }, | 2001 }, |
2002 { | 2002 { |
2003 "reduced-referrer-granularity", | 2003 "reduced-referrer-granularity", |
2004 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_NAME, | 2004 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_NAME, |
2005 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_DESCRIPTION, | 2005 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_DESCRIPTION, |
2006 kOsAll, | 2006 kOsAll, |
2007 SINGLE_VALUE_TYPE(switches::kReducedReferrerGranularity) | 2007 SINGLE_VALUE_TYPE(switches::kReducedReferrerGranularity) |
2008 }, | 2008 }, |
2009 #if defined(ENABLE_PLUGINS) | |
2010 { | |
2011 "enable-plugin-power-saver", | |
2012 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_NAME, | |
2013 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_DESCRIPTION, | |
2014 kOsDesktop, | |
2015 SINGLE_VALUE_TYPE(switches::kEnablePluginPowerSaver) | |
2016 }, | |
groby-ooo-7-16
2014/12/11 19:22:03
We shouldn't remove the flag. If we did, it'd remo
tommycli
2014/12/12 00:45:23
Done.
| |
2017 #endif | |
2018 #if defined(OS_CHROMEOS) | 2009 #if defined(OS_CHROMEOS) |
2019 { | 2010 { |
2020 "disable-new-zip-unpacker", | 2011 "disable-new-zip-unpacker", |
2021 IDS_FLAGS_DISABLE_NEW_ZIP_UNPACKER_NAME, | 2012 IDS_FLAGS_DISABLE_NEW_ZIP_UNPACKER_NAME, |
2022 IDS_FLAGS_DISABLE_NEW_ZIP_UNPACKER_DESCRIPTION, | 2013 IDS_FLAGS_DISABLE_NEW_ZIP_UNPACKER_DESCRIPTION, |
2023 kOsCrOS, | 2014 kOsCrOS, |
2024 SINGLE_VALUE_TYPE(chromeos::switches::kDisableNewZIPUnpacker) | 2015 SINGLE_VALUE_TYPE(chromeos::switches::kDisableNewZIPUnpacker) |
2025 }, | 2016 }, |
2026 #endif // defined(OS_CHROMEOS) | 2017 #endif // defined(OS_CHROMEOS) |
2027 { | 2018 { |
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2642 } | 2633 } |
2643 | 2634 |
2644 const Experiment* GetExperiments(size_t* count) { | 2635 const Experiment* GetExperiments(size_t* count) { |
2645 *count = num_experiments; | 2636 *count = num_experiments; |
2646 return experiments; | 2637 return experiments; |
2647 } | 2638 } |
2648 | 2639 |
2649 } // namespace testing | 2640 } // namespace testing |
2650 | 2641 |
2651 } // namespace about_flags | 2642 } // namespace about_flags |
OLD | NEW |