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 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1202 }, | 1202 }, |
1203 { | 1203 { |
1204 "enable-suggestions-service", | 1204 "enable-suggestions-service", |
1205 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, | 1205 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, |
1206 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, | 1206 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, |
1207 kOsAndroid | kOsCrOS, | 1207 kOsAndroid | kOsCrOS, |
1208 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, | 1208 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, |
1209 switches::kDisableSuggestionsService) | 1209 switches::kDisableSuggestionsService) |
1210 }, | 1210 }, |
1211 { | 1211 { |
| 1212 "enable-suggestions-with-substring-match", |
| 1213 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME, |
| 1214 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION, |
| 1215 kOsAll, |
| 1216 SINGLE_VALUE_TYPE( |
| 1217 autofill::switches::kEnableSuggestionsWithSubstringMatch) |
| 1218 }, |
| 1219 { |
1212 "enable-supervised-user-managed-bookmarks-folder", | 1220 "enable-supervised-user-managed-bookmarks-folder", |
1213 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, | 1221 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, |
1214 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, | 1222 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, |
1215 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, | 1223 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, |
1216 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder) | 1224 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder) |
1217 }, | 1225 }, |
1218 #if defined(ENABLE_APP_LIST) | 1226 #if defined(ENABLE_APP_LIST) |
1219 { | 1227 { |
1220 "enable-sync-app-list", | 1228 "enable-sync-app-list", |
1221 IDS_FLAGS_ENABLE_SYNC_APP_LIST_NAME, | 1229 IDS_FLAGS_ENABLE_SYNC_APP_LIST_NAME, |
(...skipping 1698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2920 } | 2928 } |
2921 | 2929 |
2922 const Experiment* GetExperiments(size_t* count) { | 2930 const Experiment* GetExperiments(size_t* count) { |
2923 *count = num_experiments; | 2931 *count = num_experiments; |
2924 return experiments; | 2932 return experiments; |
2925 } | 2933 } |
2926 | 2934 |
2927 } // namespace testing | 2935 } // namespace testing |
2928 | 2936 |
2929 } // namespace about_flags | 2937 } // namespace about_flags |
OLD | NEW |