| 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 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1131 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_NAME, | 1131 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_NAME, |
| 1132 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_DESCRIPTION, | 1132 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_DESCRIPTION, |
| 1133 kOsAll, | 1133 kOsAll, |
| 1134 SINGLE_VALUE_TYPE(switches::kEnableStaleWhileRevalidate)}, | 1134 SINGLE_VALUE_TYPE(switches::kEnableStaleWhileRevalidate)}, |
| 1135 {"enable-suggestions-service", | 1135 {"enable-suggestions-service", |
| 1136 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, | 1136 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, |
| 1137 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, | 1137 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, |
| 1138 kOsAndroid | kOsCrOS, | 1138 kOsAndroid | kOsCrOS, |
| 1139 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, | 1139 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, |
| 1140 switches::kDisableSuggestionsService)}, | 1140 switches::kDisableSuggestionsService)}, |
| 1141 {"enable-suggestions-with-substring-match", |
| 1142 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME, |
| 1143 IDS_FLAGS_ENABLE_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION, |
| 1144 kOsAll, |
| 1145 SINGLE_VALUE_TYPE( |
| 1146 autofill::switches::kEnableSuggestionsWithSubstringMatch)}, |
| 1141 {"enable-supervised-user-managed-bookmarks-folder", | 1147 {"enable-supervised-user-managed-bookmarks-folder", |
| 1142 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, | 1148 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, |
| 1143 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, | 1149 IDS_FLAGS_ENABLE_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, |
| 1144 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, | 1150 kOsAndroid | kOsMac | kOsWin | kOsLinux | kOsCrOS, |
| 1145 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)}, | 1151 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)}, |
| 1146 #if defined(ENABLE_APP_LIST) | 1152 #if defined(ENABLE_APP_LIST) |
| 1147 {"enable-sync-app-list", | 1153 {"enable-sync-app-list", |
| 1148 IDS_FLAGS_ENABLE_SYNC_APP_LIST_NAME, | 1154 IDS_FLAGS_ENABLE_SYNC_APP_LIST_NAME, |
| 1149 IDS_FLAGS_ENABLE_SYNC_APP_LIST_DESCRIPTION, | 1155 IDS_FLAGS_ENABLE_SYNC_APP_LIST_DESCRIPTION, |
| 1150 kOsDesktop, | 1156 kOsDesktop, |
| (...skipping 1518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2669 } | 2675 } |
| 2670 | 2676 |
| 2671 const Experiment* GetExperiments(size_t* count) { | 2677 const Experiment* GetExperiments(size_t* count) { |
| 2672 *count = num_experiments; | 2678 *count = num_experiments; |
| 2673 return experiments; | 2679 return experiments; |
| 2674 } | 2680 } |
| 2675 | 2681 |
| 2676 } // namespace testing | 2682 } // namespace testing |
| 2677 | 2683 |
| 2678 } // namespace about_flags | 2684 } // namespace about_flags |
| OLD | NEW |