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 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1142 }, | 1142 }, |
1143 { | 1143 { |
1144 "enable-touch-editing", | 1144 "enable-touch-editing", |
1145 IDS_FLAGS_ENABLE_TOUCH_EDITING_NAME, | 1145 IDS_FLAGS_ENABLE_TOUCH_EDITING_NAME, |
1146 IDS_FLAGS_ENABLE_TOUCH_EDITING_DESCRIPTION, | 1146 IDS_FLAGS_ENABLE_TOUCH_EDITING_DESCRIPTION, |
1147 kOsCrOS | kOsWin | kOsLinux, | 1147 kOsCrOS | kOsWin | kOsLinux, |
1148 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchEditing, | 1148 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchEditing, |
1149 switches::kDisableTouchEditing) | 1149 switches::kDisableTouchEditing) |
1150 }, | 1150 }, |
1151 { | 1151 { |
| 1152 "enable-stale-while-revalidate", |
| 1153 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_NAME, |
| 1154 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_DESCRIPTION, |
| 1155 kOsAll, |
| 1156 SINGLE_VALUE_TYPE(switches::kEnableStaleWhileRevalidate) |
| 1157 }, |
| 1158 { |
1152 "enable-suggestions-service", | 1159 "enable-suggestions-service", |
1153 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, | 1160 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_NAME, |
1154 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, | 1161 IDS_FLAGS_ENABLE_SUGGESTIONS_SERVICE_DESCRIPTION, |
1155 kOsAndroid | kOsCrOS, | 1162 kOsAndroid | kOsCrOS, |
1156 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, | 1163 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSuggestionsService, |
1157 switches::kDisableSuggestionsService) | 1164 switches::kDisableSuggestionsService) |
1158 }, | 1165 }, |
1159 { | 1166 { |
1160 "enable-supervised-user-blacklist", | 1167 "enable-supervised-user-blacklist", |
1161 IDS_FLAGS_ENABLE_SUPERVISED_USER_BLACKLIST_NAME, | 1168 IDS_FLAGS_ENABLE_SUPERVISED_USER_BLACKLIST_NAME, |
(...skipping 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2532 } | 2539 } |
2533 | 2540 |
2534 const Experiment* GetExperiments(size_t* count) { | 2541 const Experiment* GetExperiments(size_t* count) { |
2535 *count = num_experiments; | 2542 *count = num_experiments; |
2536 return experiments; | 2543 return experiments; |
2537 } | 2544 } |
2538 | 2545 |
2539 } // namespace testing | 2546 } // namespace testing |
2540 | 2547 |
2541 } // namespace about_flags | 2548 } // namespace about_flags |
OLD | NEW |