| 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 SINGLE_VALUE_TYPE(switches::kEnableSyncOAuth) | 296 SINGLE_VALUE_TYPE(switches::kEnableSyncOAuth) |
| 297 }, | 297 }, |
| 298 { | 298 { |
| 299 "sync-sessions", | 299 "sync-sessions", |
| 300 IDS_FLAGS_SYNC_SESSIONS_NAME, | 300 IDS_FLAGS_SYNC_SESSIONS_NAME, |
| 301 IDS_FLAGS_SYNC_SESSIONS_DESCRIPTION, | 301 IDS_FLAGS_SYNC_SESSIONS_DESCRIPTION, |
| 302 kOsAll, | 302 kOsAll, |
| 303 SINGLE_VALUE_TYPE(switches::kEnableSyncSessions) | 303 SINGLE_VALUE_TYPE(switches::kEnableSyncSessions) |
| 304 }, | 304 }, |
| 305 { | 305 { |
| 306 "sync-typed-urls", | |
| 307 IDS_FLAGS_SYNC_TYPED_URLS_NAME, | |
| 308 IDS_FLAGS_SYNC_TYPED_URLS_DESCRIPTION, | |
| 309 kOsAll, | |
| 310 SINGLE_VALUE_TYPE(switches::kEnableSyncTypedUrls) | |
| 311 }, | |
| 312 { | |
| 313 "enable-smooth-scrolling", // FLAGS:RECORD_UMA | 306 "enable-smooth-scrolling", // FLAGS:RECORD_UMA |
| 314 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, | 307 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_NAME, |
| 315 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, | 308 IDS_FLAGS_ENABLE_SMOOTH_SCROLLING_DESCRIPTION, |
| 316 // Can't expose the switch unless the code is compiled in. | 309 // Can't expose the switch unless the code is compiled in. |
| 317 #if defined(ENABLE_SMOOTH_SCROLLING) | 310 #if defined(ENABLE_SMOOTH_SCROLLING) |
| 318 kOsAll, | 311 kOsAll, |
| 319 #else | 312 #else |
| 320 0, | 313 0, |
| 321 #endif | 314 #endif |
| 322 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) | 315 SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling) |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 } | 803 } |
| 811 | 804 |
| 812 const Experiment* GetExperiments(size_t* count) { | 805 const Experiment* GetExperiments(size_t* count) { |
| 813 *count = num_experiments; | 806 *count = num_experiments; |
| 814 return experiments; | 807 return experiments; |
| 815 } | 808 } |
| 816 | 809 |
| 817 } // namespace testing | 810 } // namespace testing |
| 818 | 811 |
| 819 } // namespace about_flags | 812 } // namespace about_flags |
| OLD | NEW |