| 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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 const FeatureEntry::Choice kEnableUseZoomForDSFChoices[] = { | 620 const FeatureEntry::Choice kEnableUseZoomForDSFChoices[] = { |
| 621 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_DEFAULT, "", ""}, | 621 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_DEFAULT, "", ""}, |
| 622 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_ENABLED, | 622 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_ENABLED, |
| 623 switches::kEnableUseZoomForDSF, "true" }, | 623 switches::kEnableUseZoomForDSF, "true" }, |
| 624 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_DISABLED, | 624 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_DISABLED, |
| 625 switches::kEnableUseZoomForDSF, "false" }, | 625 switches::kEnableUseZoomForDSF, "false" }, |
| 626 }; | 626 }; |
| 627 | 627 |
| 628 const FeatureEntry::Choice kEnableWebFontsInterventionV2Choices[] = { | 628 const FeatureEntry::Choice kEnableWebFontsInterventionV2Choices[] = { |
| 629 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_DEFAULT, "", ""}, | 629 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_DEFAULT, "", ""}, |
| 630 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_ENABLED_WITH_3G, |
| 631 switches::kEnableWebFontsInterventionV2, |
| 632 switches::kEnableWebFontsInterventionV2SwitchValueEnabledWith3G}, |
| 630 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_ENABLED_WITH_2G, | 633 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_ENABLED_WITH_2G, |
| 631 switches::kEnableWebFontsInterventionV2, | 634 switches::kEnableWebFontsInterventionV2, |
| 632 switches::kEnableWebFontsInterventionV2SwitchValueEnabledWith2G}, | 635 switches::kEnableWebFontsInterventionV2SwitchValueEnabledWith2G}, |
| 633 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_ENABLED_WITH_SLOW2G, | 636 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_ENABLED_WITH_SLOW2G, |
| 634 switches::kEnableWebFontsInterventionV2, | 637 switches::kEnableWebFontsInterventionV2, |
| 635 switches::kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G}, | 638 switches::kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G}, |
| 636 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_DISABLED, | 639 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_DISABLED, |
| 637 switches::kEnableWebFontsInterventionV2, | 640 switches::kEnableWebFontsInterventionV2, |
| 638 switches::kEnableWebFontsInterventionV2SwitchValueDisabled}, | 641 switches::kEnableWebFontsInterventionV2SwitchValueDisabled}, |
| 639 }; | 642 }; |
| (...skipping 1620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2260 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2263 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2261 | 2264 |
| 2262 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2265 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2263 *count = arraysize(kFeatureEntries); | 2266 *count = arraysize(kFeatureEntries); |
| 2264 return kFeatureEntries; | 2267 return kFeatureEntries; |
| 2265 } | 2268 } |
| 2266 | 2269 |
| 2267 } // namespace testing | 2270 } // namespace testing |
| 2268 | 2271 |
| 2269 } // namespace about_flags | 2272 } // namespace about_flags |
| OLD | NEW |