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 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1169 }, | 1169 }, |
1170 { | 1170 { |
1171 "enable-suggestions-service", | 1171 "enable-suggestions-service", |
1172 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, | 1172 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, |
1173 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, | 1173 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, |
1174 kOsAndroid | kOsCrOS, | 1174 kOsAndroid | kOsCrOS, |
1175 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, | 1175 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, |
1176 switches::kDisableSuggestionsService) | 1176 switches::kDisableSuggestionsService) |
1177 }, | 1177 }, |
1178 { | 1178 { |
| 1179 "enable-suggestions-with-substring-match", |
| 1180 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME, |
| 1181 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION, |
| 1182 kOsAll, |
| 1183 SINGLE_VALUE_TYPE( |
| 1184 autofill::switches::kEnableSuggestionsWithSubstringMatch) |
| 1185 }, |
| 1186 { |
1179 "enable-supervised-user-blacklist", | 1187 "enable-supervised-user-blacklist", |
1180 IDS_FLAGS_ENABLE_SUPERVISED_USER_BLACKLIST_NAME, | 1188 IDS_FLAGS_ENABLE_SUPERVISED_USER_BLACKLIST_NAME, |
1181 IDS_FLAGS_ENABLE_SUPERVISED_USER_BLACKLIST_DESCRIPTION, | 1189 IDS_FLAGS_ENABLE_SUPERVISED_USER_BLACKLIST_DESCRIPTION, |
1182 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, | 1190 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, |
1183 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSupervisedUserBlacklist, | 1191 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSupervisedUserBlacklist, |
1184 switches::kDisableSupervisedUserBlacklist) | 1192 switches::kDisableSupervisedUserBlacklist) |
1185 }, | 1193 }, |
1186 { | 1194 { |
1187 "enable-supervised-user-managed-bookmarks-folder", | 1195 "enable-supervised-user-managed-bookmarks-folder", |
1188 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, | 1196 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, |
(...skipping 1693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2882 } | 2890 } |
2883 | 2891 |
2884 const Experiment* GetExperiments(size_t* count) { | 2892 const Experiment* GetExperiments(size_t* count) { |
2885 *count = num_experiments; | 2893 *count = num_experiments; |
2886 return experiments; | 2894 return experiments; |
2887 } | 2895 } |
2888 | 2896 |
2889 } // namespace testing | 2897 } // namespace testing |
2890 | 2898 |
2891 } // namespace about_flags | 2899 } // namespace about_flags |
OLD | NEW |