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 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1155 }, | 1155 }, |
1156 { | 1156 { |
1157 "enable-suggestions-service", | 1157 "enable-suggestions-service", |
1158 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, | 1158 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, |
1159 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, | 1159 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, |
1160 kOsAndroid | kOsCrOS, | 1160 kOsAndroid | kOsCrOS, |
1161 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, | 1161 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, |
1162 switches::kDisableSuggestionsService) | 1162 switches::kDisableSuggestionsService) |
1163 }, | 1163 }, |
1164 { | 1164 { |
| 1165 "enable-suggestions-with-substring-match", |
| 1166 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME, |
| 1167 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION, |
| 1168 kOsAll, |
| 1169 SINGLE_VALUE_TYPE( |
| 1170 autofill::switches::kEnableSuggestionsWithSubstringMatch) |
| 1171 }, |
| 1172 { |
1165 "enable-supervised-user-blacklist", | 1173 "enable-supervised-user-blacklist", |
1166 IDS_FLAGS_ENABLE_SUPERVISED_USER_BLACKLIST_NAME, | 1174 IDS_FLAGS_ENABLE_SUPERVISED_USER_BLACKLIST_NAME, |
1167 IDS_FLAGS_ENABLE_SUPERVISED_USER_BLACKLIST_DESCRIPTION, | 1175 IDS_FLAGS_ENABLE_SUPERVISED_USER_BLACKLIST_DESCRIPTION, |
1168 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, | 1176 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, |
1169 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSupervisedUserBlacklist, | 1177 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSupervisedUserBlacklist, |
1170 switches::kDisableSupervisedUserBlacklist) | 1178 switches::kDisableSupervisedUserBlacklist) |
1171 }, | 1179 }, |
1172 { | 1180 { |
1173 "enable-supervised-user-managed-bookmarks-folder", | 1181 "enable-supervised-user-managed-bookmarks-folder", |
1174 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, | 1182 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, |
(...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2867 } | 2875 } |
2868 | 2876 |
2869 const Experiment* GetExperiments(size_t* count) { | 2877 const Experiment* GetExperiments(size_t* count) { |
2870 *count = num_experiments; | 2878 *count = num_experiments; |
2871 return experiments; | 2879 return experiments; |
2872 } | 2880 } |
2873 | 2881 |
2874 } // namespace testing | 2882 } // namespace testing |
2875 | 2883 |
2876 } // namespace about_flags | 2884 } // namespace about_flags |
OLD | NEW |