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 1812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1823 SINGLE_VALUE_TYPE(switches::kEnableAppsFileAssociations) | 1823 SINGLE_VALUE_TYPE(switches::kEnableAppsFileAssociations) |
1824 }, | 1824 }, |
1825 #if defined(OS_ANDROID) | 1825 #if defined(OS_ANDROID) |
1826 { | 1826 { |
1827 "enable-embeddedsearch-api", | 1827 "enable-embeddedsearch-api", |
1828 IDS_FLAGS_ENABLE_EMBEDDEDSEARCH_API_NAME, | 1828 IDS_FLAGS_ENABLE_EMBEDDEDSEARCH_API_NAME, |
1829 IDS_FLAGS_ENABLE_EMBEDDEDSEARCH_API_DESCRIPTION, | 1829 IDS_FLAGS_ENABLE_EMBEDDEDSEARCH_API_DESCRIPTION, |
1830 kOsAndroid, | 1830 kOsAndroid, |
1831 SINGLE_VALUE_TYPE(switches::kEnableEmbeddedSearchAPI) | 1831 SINGLE_VALUE_TYPE(switches::kEnableEmbeddedSearchAPI) |
1832 }, | 1832 }, |
1833 { | |
1834 "enable-app-install-alerts", | |
1835 IDS_FLAGS_ENABLE_APP_INSTALL_ALERTS_NAME, | |
Nico
2015/02/19 23:59:15
Can the IDS_s go too?
gone
2015/02/20 02:10:07
Good catch, removed.
| |
1836 IDS_FLAGS_ENABLE_APP_INSTALL_ALERTS_DESCRIPTION, | |
1837 kOsAndroid, | |
1838 SINGLE_VALUE_TYPE(switches::kEnableAppInstallAlerts) | |
1839 }, | |
1840 #endif | 1833 #endif |
1841 { | 1834 { |
1842 "distance-field-text", | 1835 "distance-field-text", |
1843 IDS_FLAGS_DISTANCE_FIELD_TEXT_NAME, | 1836 IDS_FLAGS_DISTANCE_FIELD_TEXT_NAME, |
1844 IDS_FLAGS_DISTANCE_FIELD_TEXT_DESCRIPTION, | 1837 IDS_FLAGS_DISTANCE_FIELD_TEXT_DESCRIPTION, |
1845 kOsAll, | 1838 kOsAll, |
1846 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDistanceFieldText, | 1839 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDistanceFieldText, |
1847 switches::kDisableDistanceFieldText) | 1840 switches::kDisableDistanceFieldText) |
1848 }, | 1841 }, |
1849 { | 1842 { |
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2787 } | 2780 } |
2788 | 2781 |
2789 const Experiment* GetExperiments(size_t* count) { | 2782 const Experiment* GetExperiments(size_t* count) { |
2790 *count = num_experiments; | 2783 *count = num_experiments; |
2791 return experiments; | 2784 return experiments; |
2792 } | 2785 } |
2793 | 2786 |
2794 } // namespace testing | 2787 } // namespace testing |
2795 | 2788 |
2796 } // namespace about_flags | 2789 } // namespace about_flags |
OLD | NEW |