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 <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 #if defined(OS_CHROMEOS) | 637 #if defined(OS_CHROMEOS) |
638 { | 638 { |
639 "no-discard-tabs", | 639 "no-discard-tabs", |
640 IDS_FLAGS_NO_DISCARD_TABS_NAME, | 640 IDS_FLAGS_NO_DISCARD_TABS_NAME, |
641 IDS_FLAGS_NO_DISCARD_TABS_DESCRIPTION, | 641 IDS_FLAGS_NO_DISCARD_TABS_DESCRIPTION, |
642 kOsCrOS, | 642 kOsCrOS, |
643 SINGLE_VALUE_TYPE(switches::kNoDiscardTabs) | 643 SINGLE_VALUE_TYPE(switches::kNoDiscardTabs) |
644 }, | 644 }, |
645 #endif | 645 #endif |
646 { | 646 { |
647 "enable-sync-signing", | 647 "enable-sync-signin", |
648 IDS_ENABLE_SYNC_SIGNIN_NAME, | 648 IDS_ENABLE_SYNC_SIGNIN_NAME, |
649 IDS_ENABLE_SYNC_SIGNIN_DESCRIPTION, | 649 IDS_ENABLE_SYNC_SIGNIN_DESCRIPTION, |
650 kOsAll, | 650 kOsAll, |
651 SINGLE_VALUE_TYPE(switches::kEnableSyncSignin) | 651 SINGLE_VALUE_TYPE(switches::kEnableSyncSignin) |
652 }, | 652 }, |
653 }; | 653 }; |
654 | 654 |
655 const Experiment* experiments = kExperiments; | 655 const Experiment* experiments = kExperiments; |
656 size_t num_experiments = arraysize(kExperiments); | 656 size_t num_experiments = arraysize(kExperiments); |
657 | 657 |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1078 } | 1078 } |
1079 | 1079 |
1080 const Experiment* GetExperiments(size_t* count) { | 1080 const Experiment* GetExperiments(size_t* count) { |
1081 *count = num_experiments; | 1081 *count = num_experiments; |
1082 return experiments; | 1082 return experiments; |
1083 } | 1083 } |
1084 | 1084 |
1085 } // namespace testing | 1085 } // namespace testing |
1086 | 1086 |
1087 } // namespace about_flags | 1087 } // namespace about_flags |
OLD | NEW |