| 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 #endif | 283 #endif |
| 284 }, | 284 }, |
| 285 { | 285 { |
| 286 "show-autofill-type-predictions", | 286 "show-autofill-type-predictions", |
| 287 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_NAME, | 287 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_NAME, |
| 288 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_DESCRIPTION, | 288 IDS_FLAGS_SHOW_AUTOFILL_TYPE_PREDICTIONS_DESCRIPTION, |
| 289 kOsAll, | 289 kOsAll, |
| 290 SINGLE_VALUE_TYPE(switches::kShowAutofillTypePredictions) | 290 SINGLE_VALUE_TYPE(switches::kShowAutofillTypePredictions) |
| 291 }, | 291 }, |
| 292 { | 292 { |
| 293 "sync-oauth", |
| 294 IDS_FLAGS_SYNC_OAUTH_NAME, |
| 295 IDS_FLAGS_SYNC_OAUTH_DESCRIPTION, |
| 296 kOsAll, |
| 297 SINGLE_VALUE_TYPE(switches::kEnableSyncOAuth) |
| 298 }, |
| 299 { |
| 293 "sync-sessions", | 300 "sync-sessions", |
| 294 IDS_FLAGS_SYNC_SESSIONS_NAME, | 301 IDS_FLAGS_SYNC_SESSIONS_NAME, |
| 295 IDS_FLAGS_SYNC_SESSIONS_DESCRIPTION, | 302 IDS_FLAGS_SYNC_SESSIONS_DESCRIPTION, |
| 296 kOsAll, | 303 kOsAll, |
| 297 SINGLE_VALUE_TYPE(switches::kEnableSyncSessions) | 304 SINGLE_VALUE_TYPE(switches::kEnableSyncSessions) |
| 298 }, | 305 }, |
| 299 { | 306 { |
| 300 "sync-typed-urls", | 307 "sync-typed-urls", |
| 301 IDS_FLAGS_SYNC_TYPED_URLS_NAME, | 308 IDS_FLAGS_SYNC_TYPED_URLS_NAME, |
| 302 IDS_FLAGS_SYNC_TYPED_URLS_DESCRIPTION, | 309 IDS_FLAGS_SYNC_TYPED_URLS_DESCRIPTION, |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 } | 792 } |
| 786 | 793 |
| 787 const Experiment* GetExperiments(size_t* count) { | 794 const Experiment* GetExperiments(size_t* count) { |
| 788 *count = num_experiments; | 795 *count = num_experiments; |
| 789 return experiments; | 796 return experiments; |
| 790 } | 797 } |
| 791 | 798 |
| 792 } // namespace testing | 799 } // namespace testing |
| 793 | 800 |
| 794 } // namespace about_flags | 801 } // namespace about_flags |
| OLD | NEW |