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 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1109 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_NAME, | 1109 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_NAME, |
1110 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_DESCRIPTION, | 1110 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_DESCRIPTION, |
1111 kOsAll, | 1111 kOsAll, |
1112 SINGLE_VALUE_TYPE(switches::kEnableStaleWhileRevalidate)}, | 1112 SINGLE_VALUE_TYPE(switches::kEnableStaleWhileRevalidate)}, |
1113 {"enable-suggestions-service", | 1113 {"enable-suggestions-service", |
1114 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, | 1114 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, |
1115 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, | 1115 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, |
1116 kOsAndroid | kOsCrOS, | 1116 kOsAndroid | kOsCrOS, |
1117 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, | 1117 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, |
1118 switches::kDisableSuggestionsService)}, | 1118 switches::kDisableSuggestionsService)}, |
| 1119 {"enable-suggestions-with-substring-match", |
| 1120 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME, |
| 1121 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION, |
| 1122 kOsAll, |
| 1123 SINGLE_VALUE_TYPE( |
| 1124 autofill::switches::kEnableSuggestionsWithSubstringMatch)}, |
1119 {"enable-supervised-user-managed-bookmarks-folder", | 1125 {"enable-supervised-user-managed-bookmarks-folder", |
1120 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, | 1126 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, |
1121 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, | 1127 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, |
1122 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, | 1128 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, |
1123 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)}, | 1129 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)}, |
1124 #if defined(ENABLE_APP_LIST) | 1130 #if defined(ENABLE_APP_LIST) |
1125 {"enable-sync-app-list", | 1131 {"enable-sync-app-list", |
1126 IDS_FLAGS_ENABLE_SYNC_APP_LIST_NAME, | 1132 IDS_FLAGS_ENABLE_SYNC_APP_LIST_NAME, |
1127 IDS_FLAGS_ENABLE_SYNC_APP_LIST_DESCRIPTION, | 1133 IDS_FLAGS_ENABLE_SYNC_APP_LIST_DESCRIPTION, |
1128 kOsDesktop, | 1134 kOsDesktop, |
(...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2636 } | 2642 } |
2637 | 2643 |
2638 const Experiment* GetExperiments(size_t* count) { | 2644 const Experiment* GetExperiments(size_t* count) { |
2639 *count = num_experiments; | 2645 *count = num_experiments; |
2640 return experiments; | 2646 return experiments; |
2641 } | 2647 } |
2642 | 2648 |
2643 } // namespace testing | 2649 } // namespace testing |
2644 | 2650 |
2645 } // namespace about_flags | 2651 } // namespace about_flags |
OLD | NEW |