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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 }, | 806 }, |
807 { | 807 { |
808 "no-discard-tabs", | 808 "no-discard-tabs", |
809 IDS_FLAGS_NO_DISCARD_TABS_NAME, | 809 IDS_FLAGS_NO_DISCARD_TABS_NAME, |
810 IDS_FLAGS_NO_DISCARD_TABS_DESCRIPTION, | 810 IDS_FLAGS_NO_DISCARD_TABS_DESCRIPTION, |
811 kOsCrOS, | 811 kOsCrOS, |
812 SINGLE_VALUE_TYPE(switches::kNoDiscardTabs) | 812 SINGLE_VALUE_TYPE(switches::kNoDiscardTabs) |
813 }, | 813 }, |
814 #endif | 814 #endif |
815 { | 815 { |
| 816 "enable-download-restarts", |
| 817 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_NAME, |
| 818 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_DESCRIPTION, |
| 819 kOsAll, |
| 820 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption) |
| 821 }, |
| 822 { |
816 "allow-nacl-socket-api", | 823 "allow-nacl-socket-api", |
817 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, | 824 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, |
818 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, | 825 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, |
819 kOsAll, | 826 kOsAll, |
820 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") | 827 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") |
821 }, | 828 }, |
822 { | 829 { |
823 "stacked-tab-strip", | 830 "stacked-tab-strip", |
824 IDS_FLAGS_STACKED_TAB_STRIP_NAME, | 831 IDS_FLAGS_STACKED_TAB_STRIP_NAME, |
825 IDS_FLAGS_STACKED_TAB_STRIP_DESCRIPTION, | 832 IDS_FLAGS_STACKED_TAB_STRIP_DESCRIPTION, |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1570 } | 1577 } |
1571 | 1578 |
1572 const Experiment* GetExperiments(size_t* count) { | 1579 const Experiment* GetExperiments(size_t* count) { |
1573 *count = num_experiments; | 1580 *count = num_experiments; |
1574 return experiments; | 1581 return experiments; |
1575 } | 1582 } |
1576 | 1583 |
1577 } // namespace testing | 1584 } // namespace testing |
1578 | 1585 |
1579 } // namespace about_flags | 1586 } // namespace about_flags |
OLD | NEW |