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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 #endif | 284 #endif |
285 }, | 285 }, |
286 { | 286 { |
287 "show-autofill-type-predictions", | 287 "show-autofill-type-predictions", |
288 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_NAME, | 288 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_NAME, |
289 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_DESCRIPTION, | 289 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_DESCRIPTION, |
290 kOsAll, | 290 kOsAll, |
291 SINGLE_VALUE_TYPE(switches::kShowAutofillTypePredictions) | 291 SINGLE_VALUE_TYPE(switches::kShowAutofillTypePredictions) |
292 }, | 292 }, |
293 { | 293 { |
| 294 "sync-sessions", |
| 295 IDS_FLAGS_SYNC_SESSIONS_NAME, |
| 296 IDS_FLAGS_SYNC_SESSIONS_DESCRIPTION, |
| 297 kOsAll, |
| 298 SINGLE_VALUE_TYPE(switches::kEnableSyncSessions) |
| 299 }, |
| 300 { |
294 "sync-typed-urls", | 301 "sync-typed-urls", |
295 IDS_FLAGS_SYNC_TYPED_URLS_NAME, | 302 IDS_FLAGS_SYNC_TYPED_URLS_NAME, |
296 IDS_FLAGS_SYNC_TYPED_URLS_DESCRIPTION, | 303 IDS_FLAGS_SYNC_TYPED_URLS_DESCRIPTION, |
297 kOsAll, | 304 kOsAll, |
298 SINGLE_VALUE_TYPE(switches::kEnableSyncTypedUrls) | 305 SINGLE_VALUE_TYPE(switches::kEnableSyncTypedUrls) |
299 }, | 306 }, |
300 { | 307 { |
301 "enable-smooth-scrolling", // FLAGS:RECORD_UMA | 308 "enable-smooth-scrolling", // FLAGS:RECORD_UMA |
302 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, | 309 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, |
303 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, | 310 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, |
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
790 } | 797 } |
791 | 798 |
792 const Experiment* GetExperiments(size_t* count) { | 799 const Experiment* GetExperiments(size_t* count) { |
793 *count = num_experiments; | 800 *count = num_experiments; |
794 return experiments; | 801 return experiments; |
795 } | 802 } |
796 | 803 |
797 } // namespace testing | 804 } // namespace testing |
798 | 805 |
799 } // namespace about_flags | 806 } // namespace about_flags |
OLD | NEW |