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 1610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1621 SINGLE_VALUE_TYPE(switches::kManualEnhancedBookmarksOptout) | 1621 SINGLE_VALUE_TYPE(switches::kManualEnhancedBookmarksOptout) |
1622 }, | 1622 }, |
1623 #if defined(OS_ANDROID) | 1623 #if defined(OS_ANDROID) |
1624 { | 1624 { |
1625 "enable-zero-suggest-experiment", | 1625 "enable-zero-suggest-experiment", |
1626 IDS_FLAGS_ZERO_SUGGEST_EXPERIMENT_NAME, | 1626 IDS_FLAGS_ZERO_SUGGEST_EXPERIMENT_NAME, |
1627 IDS_FLAGS_ZERO_SUGGEST_EXPERIMENT_DESCRIPTION, | 1627 IDS_FLAGS_ZERO_SUGGEST_EXPERIMENT_DESCRIPTION, |
1628 kOsAndroid, | 1628 kOsAndroid, |
1629 MULTI_VALUE_TYPE(kZeroSuggestExperimentsChoices) | 1629 MULTI_VALUE_TYPE(kZeroSuggestExperimentsChoices) |
1630 }, | 1630 }, |
| 1631 { |
| 1632 "enable-reader-mode-toolbar-icon", |
| 1633 IDS_FLAGS_READER_MODE_EXPERIMENT_NAME, |
| 1634 IDS_FLAGS_READER_MODE_EXPERIMENT_DESCRIPTION, |
| 1635 kOsAndroid, |
| 1636 SINGLE_VALUE_TYPE(switches::kEnableReaderModeToolbarIcon) |
| 1637 }, |
1631 #endif | 1638 #endif |
1632 { | 1639 { |
1633 "num-raster-threads", | 1640 "num-raster-threads", |
1634 IDS_FLAGS_NUM_RASTER_THREADS_NAME, | 1641 IDS_FLAGS_NUM_RASTER_THREADS_NAME, |
1635 IDS_FLAGS_NUM_RASTER_THREADS_DESCRIPTION, | 1642 IDS_FLAGS_NUM_RASTER_THREADS_DESCRIPTION, |
1636 kOsAll, | 1643 kOsAll, |
1637 MULTI_VALUE_TYPE(kNumRasterThreadsChoices) | 1644 MULTI_VALUE_TYPE(kNumRasterThreadsChoices) |
1638 }, | 1645 }, |
1639 { | 1646 { |
1640 "origin-chip-in-omnibox", | 1647 "origin-chip-in-omnibox", |
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2471 } | 2478 } |
2472 | 2479 |
2473 const Experiment* GetExperiments(size_t* count) { | 2480 const Experiment* GetExperiments(size_t* count) { |
2474 *count = num_experiments; | 2481 *count = num_experiments; |
2475 return experiments; | 2482 return experiments; |
2476 } | 2483 } |
2477 | 2484 |
2478 } // namespace testing | 2485 } // namespace testing |
2479 | 2486 |
2480 } // namespace about_flags | 2487 } // namespace about_flags |
OLD | NEW |