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 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 }, | 805 }, |
806 { | 806 { |
807 "no-discard-tabs", | 807 "no-discard-tabs", |
808 IDS_FLAGS_NO_DISCARD_TABS_NAME, | 808 IDS_FLAGS_NO_DISCARD_TABS_NAME, |
809 IDS_FLAGS_NO_DISCARD_TABS_DESCRIPTION, | 809 IDS_FLAGS_NO_DISCARD_TABS_DESCRIPTION, |
810 kOsCrOS, | 810 kOsCrOS, |
811 SINGLE_VALUE_TYPE(switches::kNoDiscardTabs) | 811 SINGLE_VALUE_TYPE(switches::kNoDiscardTabs) |
812 }, | 812 }, |
813 #endif | 813 #endif |
814 { | 814 { |
| 815 "enable-download-restarts", |
| 816 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_NAME, |
| 817 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_DESCRIPTION, |
| 818 kOsAll, |
| 819 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption) |
| 820 }, |
| 821 { |
815 "allow-nacl-socket-api", | 822 "allow-nacl-socket-api", |
816 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, | 823 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, |
817 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, | 824 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, |
818 kOsAll, | 825 kOsAll, |
819 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") | 826 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") |
820 }, | 827 }, |
821 { | 828 { |
822 "stacked-tab-strip", | 829 "stacked-tab-strip", |
823 IDS_FLAGS_STACKED_TAB_STRIP_NAME, | 830 IDS_FLAGS_STACKED_TAB_STRIP_NAME, |
824 IDS_FLAGS_STACKED_TAB_STRIP_DESCRIPTION, | 831 IDS_FLAGS_STACKED_TAB_STRIP_DESCRIPTION, |
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1611 } | 1618 } |
1612 | 1619 |
1613 const Experiment* GetExperiments(size_t* count) { | 1620 const Experiment* GetExperiments(size_t* count) { |
1614 *count = num_experiments; | 1621 *count = num_experiments; |
1615 return experiments; | 1622 return experiments; |
1616 } | 1623 } |
1617 | 1624 |
1618 } // namespace testing | 1625 } // namespace testing |
1619 | 1626 |
1620 } // namespace about_flags | 1627 } // namespace about_flags |
OLD | NEW |