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 2034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2045 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_DESCRIPTION, | 2045 IDS_FLAGS_REDUCED_REFERRER_GRANULARITY_DESCRIPTION, |
2046 kOsAll, | 2046 kOsAll, |
2047 SINGLE_VALUE_TYPE(switches::kReducedReferrerGranularity) | 2047 SINGLE_VALUE_TYPE(switches::kReducedReferrerGranularity) |
2048 }, | 2048 }, |
2049 #if defined(ENABLE_PLUGINS) | 2049 #if defined(ENABLE_PLUGINS) |
2050 { | 2050 { |
2051 "enable-plugin-power-saver", | 2051 "enable-plugin-power-saver", |
2052 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_NAME, | 2052 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_NAME, |
2053 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_DESCRIPTION, | 2053 IDS_FLAGS_ENABLE_PLUGIN_POWER_SAVER_DESCRIPTION, |
2054 kOsDesktop, | 2054 kOsDesktop, |
2055 SINGLE_VALUE_TYPE(switches::kEnablePluginPowerSaver) | 2055 ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePluginPowerSaver, |
| 2056 switches::kDisablePluginPowerSaver) |
2056 }, | 2057 }, |
2057 #endif | 2058 #endif |
2058 #if defined(OS_CHROMEOS) | 2059 #if defined(OS_CHROMEOS) |
2059 { | 2060 { |
2060 "disable-new-zip-unpacker", | 2061 "disable-new-zip-unpacker", |
2061 IDS_FLAGS_DISABLE_NEW_ZIP_UNPACKER_NAME, | 2062 IDS_FLAGS_DISABLE_NEW_ZIP_UNPACKER_NAME, |
2062 IDS_FLAGS_DISABLE_NEW_ZIP_UNPACKER_DESCRIPTION, | 2063 IDS_FLAGS_DISABLE_NEW_ZIP_UNPACKER_DESCRIPTION, |
2063 kOsCrOS, | 2064 kOsCrOS, |
2064 SINGLE_VALUE_TYPE(chromeos::switches::kDisableNewZIPUnpacker) | 2065 SINGLE_VALUE_TYPE(chromeos::switches::kDisableNewZIPUnpacker) |
2065 }, | 2066 }, |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2858 } | 2859 } |
2859 | 2860 |
2860 const Experiment* GetExperiments(size_t* count) { | 2861 const Experiment* GetExperiments(size_t* count) { |
2861 *count = num_experiments; | 2862 *count = num_experiments; |
2862 return experiments; | 2863 return experiments; |
2863 } | 2864 } |
2864 | 2865 |
2865 } // namespace testing | 2866 } // namespace testing |
2866 | 2867 |
2867 } // namespace about_flags | 2868 } // namespace about_flags |
OLD | NEW |