| 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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 {IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", ""}, | 521 {IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", ""}, |
| 522 {IDS_FLAGS_ENABLE_OFFLINE_PAGES_AS_BOOKMARKS, | 522 {IDS_FLAGS_ENABLE_OFFLINE_PAGES_AS_BOOKMARKS, |
| 523 switches::kEnableOfflinePagesAsBookmarks, ""}, | 523 switches::kEnableOfflinePagesAsBookmarks, ""}, |
| 524 {IDS_FLAGS_ENABLE_OFFLINE_PAGES_AS_SAVED_PAGES, | 524 {IDS_FLAGS_ENABLE_OFFLINE_PAGES_AS_SAVED_PAGES, |
| 525 switches::kEnableOfflinePagesAsSavedPages, ""}, | 525 switches::kEnableOfflinePagesAsSavedPages, ""}, |
| 526 {IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, switches::kDisableOfflinePages, | 526 {IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, switches::kDisableOfflinePages, |
| 527 ""}, | 527 ""}, |
| 528 }; | 528 }; |
| 529 | 529 |
| 530 const FeatureEntry::Choice kHerbPrototypeChoices[] = { | 530 const FeatureEntry::Choice kHerbPrototypeChoices[] = { |
| 531 {IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, "", ""}, | 531 {IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", ""}, |
| 532 {IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, |
| 533 switches::kTabManagementExperimentTypeDisabled, ""}, |
| 532 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_ANISE, | 534 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_ANISE, |
| 533 switches::kTabManagementExperimentType, "anise"}, | 535 switches::kTabManagementExperimentTypeAnise, ""}, |
| 534 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_BASIL, | 536 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_BASIL, |
| 535 switches::kTabManagementExperimentType, "basil"}, | 537 switches::kTabManagementExperimentTypeBasil, ""}, |
| 536 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_CHIVE, | 538 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_CHIVE, |
| 537 switches::kTabManagementExperimentType, "chive"}, | 539 switches::kTabManagementExperimentTypeChive, ""}, |
| 538 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_DILL, | 540 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_DILL, |
| 539 switches::kTabManagementExperimentType, "dill"}, | 541 switches::kTabManagementExperimentTypeDill, ""}, |
| 540 }; | 542 }; |
| 541 #endif // defined(OS_ANDROID) | 543 #endif // defined(OS_ANDROID) |
| 542 | 544 |
| 543 const FeatureEntry::Choice kEnableUseZoomForDSFChoices[] = { | 545 const FeatureEntry::Choice kEnableUseZoomForDSFChoices[] = { |
| 544 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_DEFAULT, "", ""}, | 546 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_DEFAULT, "", ""}, |
| 545 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_ENABLED, | 547 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_ENABLED, |
| 546 switches::kEnableUseZoomForDSF, "true" }, | 548 switches::kEnableUseZoomForDSF, "true" }, |
| 547 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_DISABLED, | 549 { IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_CHOICE_DISABLED, |
| 548 switches::kEnableUseZoomForDSF, "false" }, | 550 switches::kEnableUseZoomForDSF, "false" }, |
| 549 }; | 551 }; |
| (...skipping 1479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2029 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2031 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2030 | 2032 |
| 2031 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2033 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2032 *count = arraysize(kFeatureEntries); | 2034 *count = arraysize(kFeatureEntries); |
| 2033 return kFeatureEntries; | 2035 return kFeatureEntries; |
| 2034 } | 2036 } |
| 2035 | 2037 |
| 2036 } // namespace testing | 2038 } // namespace testing |
| 2037 | 2039 |
| 2038 } // namespace about_flags | 2040 } // namespace about_flags |
| OLD | NEW |