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 <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
771 #if defined(OS_CHROMEOS) | 771 #if defined(OS_CHROMEOS) |
772 {"network-portal-notification", IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_NAME, | 772 {"network-portal-notification", IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_NAME, |
773 IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_DESCRIPTION, kOsCrOS, | 773 IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_DESCRIPTION, kOsCrOS, |
774 ENABLE_DISABLE_VALUE_TYPE( | 774 ENABLE_DISABLE_VALUE_TYPE( |
775 chromeos::switches::kEnableNetworkPortalNotification, | 775 chromeos::switches::kEnableNetworkPortalNotification, |
776 chromeos::switches::kDisableNetworkPortalNotification)}, | 776 chromeos::switches::kDisableNetworkPortalNotification)}, |
777 #endif | 777 #endif |
778 {"enable-download-resumption", IDS_FLAGS_DOWNLOAD_RESUMPTION_NAME, | 778 {"enable-download-resumption", IDS_FLAGS_DOWNLOAD_RESUMPTION_NAME, |
779 IDS_FLAGS_DOWNLOAD_RESUMPTION_DESCRIPTION, kOsAll, | 779 IDS_FLAGS_DOWNLOAD_RESUMPTION_DESCRIPTION, kOsAll, |
780 FEATURE_VALUE_TYPE(features::kDownloadResumption)}, | 780 FEATURE_VALUE_TYPE(features::kDownloadResumption)}, |
| 781 #if defined(OS_ANDROID) |
| 782 {"enable-system-download-manager", |
| 783 IDS_FLAGS_ENABLE_SYSTEM_DOWNLOAD_MANAGER_NAME, |
| 784 IDS_FLAGS_ENABLE_SYSTEM_DOWNLOAD_MANAGER_DESCRIPTION, |
| 785 kOsAndroid, |
| 786 FEATURE_VALUE_TYPE(chrome::android::kSystemDownloadManager)}, |
| 787 #endif |
781 #if defined(OS_CHROMEOS) | 788 #if defined(OS_CHROMEOS) |
782 {"download-notification", IDS_FLAGS_DOWNLOAD_NOTIFICATION_NAME, | 789 {"download-notification", IDS_FLAGS_DOWNLOAD_NOTIFICATION_NAME, |
783 IDS_FLAGS_DOWNLOAD_NOTIFICATION_DESCRIPTION, kOsCrOS, | 790 IDS_FLAGS_DOWNLOAD_NOTIFICATION_DESCRIPTION, kOsCrOS, |
784 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableDownloadNotification)}, | 791 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableDownloadNotification)}, |
785 #endif | 792 #endif |
786 #if defined(ENABLE_PLUGINS) | 793 #if defined(ENABLE_PLUGINS) |
787 {"allow-nacl-socket-api", IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, | 794 {"allow-nacl-socket-api", IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, |
788 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, kOsDesktop, | 795 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, kOsDesktop, |
789 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*")}, | 796 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*")}, |
790 #endif | 797 #endif |
(...skipping 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2031 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2038 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2032 | 2039 |
2033 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2040 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2034 *count = arraysize(kFeatureEntries); | 2041 *count = arraysize(kFeatureEntries); |
2035 return kFeatureEntries; | 2042 return kFeatureEntries; |
2036 } | 2043 } |
2037 | 2044 |
2038 } // namespace testing | 2045 } // namespace testing |
2039 | 2046 |
2040 } // namespace about_flags | 2047 } // namespace about_flags |
OLD | NEW |