| 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 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2559 } | 2566 } |
| 2560 | 2567 |
| 2561 const Experiment* GetExperiments(size_t* count) { | 2568 const Experiment* GetExperiments(size_t* count) { |
| 2562 *count = num_experiments; | 2569 *count = num_experiments; |
| 2563 return experiments; | 2570 return experiments; |
| 2564 } | 2571 } |
| 2565 | 2572 |
| 2566 } // namespace testing | 2573 } // namespace testing |
| 2567 | 2574 |
| 2568 } // namespace about_flags | 2575 } // namespace about_flags |
| OLD | NEW |