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 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
817 IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_NAME, | 817 IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_NAME, |
818 IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_DESCRIPTION, | 818 IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_DESCRIPTION, |
819 kOsCrOS, | 819 kOsCrOS, |
820 ENABLE_DISABLE_VALUE_TYPE( | 820 ENABLE_DISABLE_VALUE_TYPE( |
821 chromeos::switches::kEnableNetworkPortalNotification, | 821 chromeos::switches::kEnableNetworkPortalNotification, |
822 chromeos::switches::kDisableNetworkPortalNotification)}, | 822 chromeos::switches::kDisableNetworkPortalNotification)}, |
823 #endif | 823 #endif |
824 {"enable-download-resumption", | 824 {"enable-download-resumption", |
825 IDS_FLAGS_DOWNLOAD_RESUMPTION_NAME, | 825 IDS_FLAGS_DOWNLOAD_RESUMPTION_NAME, |
826 IDS_FLAGS_DOWNLOAD_RESUMPTION_DESCRIPTION, | 826 IDS_FLAGS_DOWNLOAD_RESUMPTION_DESCRIPTION, |
827 kOsDesktop, | 827 kOsAll, |
828 FEATURE_VALUE_TYPE(features::kDownloadResumption)}, | 828 FEATURE_VALUE_TYPE(features::kDownloadResumption)}, |
829 #if defined(OS_CHROMEOS) | 829 #if defined(OS_CHROMEOS) |
830 {"download-notification", | 830 {"download-notification", |
831 IDS_FLAGS_DOWNLOAD_NOTIFICATION_NAME, | 831 IDS_FLAGS_DOWNLOAD_NOTIFICATION_NAME, |
832 IDS_FLAGS_DOWNLOAD_NOTIFICATION_DESCRIPTION, | 832 IDS_FLAGS_DOWNLOAD_NOTIFICATION_DESCRIPTION, |
833 kOsCrOS, | 833 kOsCrOS, |
834 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableDownloadNotification)}, | 834 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableDownloadNotification)}, |
835 #endif | 835 #endif |
836 #if defined(ENABLE_PLUGINS) | 836 #if defined(ENABLE_PLUGINS) |
837 {"allow-nacl-socket-api", | 837 {"allow-nacl-socket-api", |
(...skipping 1503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2341 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2341 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2342 | 2342 |
2343 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2343 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2344 *count = arraysize(kFeatureEntries); | 2344 *count = arraysize(kFeatureEntries); |
2345 return kFeatureEntries; | 2345 return kFeatureEntries; |
2346 } | 2346 } |
2347 | 2347 |
2348 } // namespace testing | 2348 } // namespace testing |
2349 | 2349 |
2350 } // namespace about_flags | 2350 } // namespace about_flags |
OLD | NEW |