| 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 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 switches::kEnableUseZoomForDSF, "true" }, | 627 switches::kEnableUseZoomForDSF, "true" }, |
| 628 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_DISABLED, | 628 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_DISABLED, |
| 629 switches::kEnableUseZoomForDSF, "false" }, | 629 switches::kEnableUseZoomForDSF, "false" }, |
| 630 }; | 630 }; |
| 631 | 631 |
| 632 const FeatureEntry::Choice kEnableWebFontsInterventionV2Choices[] = { | 632 const FeatureEntry::Choice kEnableWebFontsInterventionV2Choices[] = { |
| 633 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_DEFAULT, "", ""}, | 633 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_DEFAULT, "", ""}, |
| 634 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_ENABLED_WITH_2G, | 634 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_ENABLED_WITH_2G, |
| 635 switches::kEnableWebFontsInterventionV2, | 635 switches::kEnableWebFontsInterventionV2, |
| 636 switches::kEnableWebFontsInterventionV2SwitchValueEnabledWith2G}, | 636 switches::kEnableWebFontsInterventionV2SwitchValueEnabledWith2G}, |
| 637 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_ENABLED_WITH_3G, |
| 638 switches::kEnableWebFontsInterventionV2, |
| 639 switches::kEnableWebFontsInterventionV2SwitchValueEnabledWith3G}, |
| 637 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_ENABLED_WITH_SLOW2G, | 640 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_ENABLED_WITH_SLOW2G, |
| 638 switches::kEnableWebFontsInterventionV2, | 641 switches::kEnableWebFontsInterventionV2, |
| 639 switches::kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G}, | 642 switches::kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G}, |
| 640 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_DISABLED, | 643 {IDS_FLAGS_ENABLE_WEBFONTS_INTERVENTION_V2_CHOICE_DISABLED, |
| 641 switches::kEnableWebFontsInterventionV2, | 644 switches::kEnableWebFontsInterventionV2, |
| 642 switches::kEnableWebFontsInterventionV2SwitchValueDisabled}, | 645 switches::kEnableWebFontsInterventionV2SwitchValueDisabled}, |
| 643 }; | 646 }; |
| 644 | 647 |
| 645 const FeatureEntry::Choice kSSLVersionMaxChoices[] = { | 648 const FeatureEntry::Choice kSSLVersionMaxChoices[] = { |
| 646 {IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, | 649 {IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, |
| (...skipping 1660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2307 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2310 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2308 | 2311 |
| 2309 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2312 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2310 *count = arraysize(kFeatureEntries); | 2313 *count = arraysize(kFeatureEntries); |
| 2311 return kFeatureEntries; | 2314 return kFeatureEntries; |
| 2312 } | 2315 } |
| 2313 | 2316 |
| 2314 } // namespace testing | 2317 } // namespace testing |
| 2315 | 2318 |
| 2316 } // namespace about_flags | 2319 } // namespace about_flags |
| OLD | NEW |