Chromium Code Reviews| 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::kTabManagementExperimentType, "disabled"}, | |
|
Ted C
2016/02/22 23:31:21
I have a sinking suspicion that you need five dist
gone
2016/02/23 23:57:47
Talked with Dan (and Alexei over chat), who confir
| |
| 532 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_ANISE, | 534 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_ANISE, |
| 533 switches::kTabManagementExperimentType, "anise"}, | 535 switches::kTabManagementExperimentType, "anise"}, |
| 534 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_BASIL, | 536 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_BASIL, |
| 535 switches::kTabManagementExperimentType, "basil"}, | 537 switches::kTabManagementExperimentType, "basil"}, |
| 536 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_CHIVE, | 538 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_CHIVE, |
| 537 switches::kTabManagementExperimentType, "chive"}, | 539 switches::kTabManagementExperimentType, "chive"}, |
| 538 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_DILL, | 540 {IDS_FLAGS_HERB_PROTOTYPE_FLAVOR_DILL, |
| 539 switches::kTabManagementExperimentType, "dill"}, | 541 switches::kTabManagementExperimentType, "dill"}, |
| 540 }; | 542 }; |
| 541 #endif // defined(OS_ANDROID) | 543 #endif // defined(OS_ANDROID) |
| (...skipping 1494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2036 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2038 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2037 | 2039 |
| 2038 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2040 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2039 *count = arraysize(kFeatureEntries); | 2041 *count = arraysize(kFeatureEntries); |
| 2040 return kFeatureEntries; | 2042 return kFeatureEntries; |
| 2041 } | 2043 } |
| 2042 | 2044 |
| 2043 } // namespace testing | 2045 } // namespace testing |
| 2044 | 2046 |
| 2045 } // namespace about_flags | 2047 } // namespace about_flags |
| OLD | NEW |