OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 SINGLE_VALUE_TYPE(switches::kShowAutofillTypePredictions) | 291 SINGLE_VALUE_TYPE(switches::kShowAutofillTypePredictions) |
292 }, | 292 }, |
293 { | 293 { |
294 "sync-tabs", | 294 "sync-tabs", |
295 IDS_FLAGS_SYNC_TABS_NAME, | 295 IDS_FLAGS_SYNC_TABS_NAME, |
296 IDS_FLAGS_SYNC_TABS_DESCRIPTION, | 296 IDS_FLAGS_SYNC_TABS_DESCRIPTION, |
297 kOsAll, | 297 kOsAll, |
298 SINGLE_VALUE_TYPE(switches::kEnableSyncTabs) | 298 SINGLE_VALUE_TYPE(switches::kEnableSyncTabs) |
299 }, | 299 }, |
300 { | 300 { |
301 "sync-search-engines", | |
302 IDS_FLAGS_SYNC_SEARCH_ENGINES_NAME, | |
303 IDS_FLAGS_SYNC_SEARCH_ENGINES_DESCRIPTION, | |
304 kOsAll, | |
305 SINGLE_VALUE_TYPE(switches::kEnableSyncSearchEngines) | |
306 }, | |
307 { | |
308 "sync-app-notifications", | 301 "sync-app-notifications", |
309 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_NAME, | 302 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_NAME, |
310 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_DESCRIPTION, | 303 IDS_FLAGS_SYNC_APP_NOTIFICATIONS_DESCRIPTION, |
311 kOsAll, | 304 kOsAll, |
312 SINGLE_VALUE_TYPE(switches::kEnableSyncAppNotifications) | 305 SINGLE_VALUE_TYPE(switches::kEnableSyncAppNotifications) |
313 }, | 306 }, |
314 { | 307 { |
315 "enable-smooth-scrolling", // FLAGS:RECORD_UMA | 308 "enable-smooth-scrolling", // FLAGS:RECORD_UMA |
316 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, | 309 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, |
317 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, | 310 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
878 } | 871 } |
879 | 872 |
880 const Experiment* GetExperiments(size_t* count) { | 873 const Experiment* GetExperiments(size_t* count) { |
881 *count = num_experiments; | 874 *count = num_experiments; |
882 return experiments; | 875 return experiments; |
883 } | 876 } |
884 | 877 |
885 } // namespace testing | 878 } // namespace testing |
886 | 879 |
887 } // namespace about_flags | 880 } // namespace about_flags |
OLD | NEW |