| 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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 797 IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_DESCRIPTION, | 797 IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_DESCRIPTION, |
| 798 kOsCrOS, | 798 kOsCrOS, |
| 799 ENABLE_DISABLE_VALUE_TYPE( | 799 ENABLE_DISABLE_VALUE_TYPE( |
| 800 chromeos::switches::kEnableNetworkPortalNotification, | 800 chromeos::switches::kEnableNetworkPortalNotification, |
| 801 chromeos::switches::kDisableNetworkPortalNotification)}, | 801 chromeos::switches::kDisableNetworkPortalNotification)}, |
| 802 #endif | 802 #endif |
| 803 {"enable-download-resumption", | 803 {"enable-download-resumption", |
| 804 IDS_FLAGS_DOWNLOAD_RESUMPTION_NAME, | 804 IDS_FLAGS_DOWNLOAD_RESUMPTION_NAME, |
| 805 IDS_FLAGS_DOWNLOAD_RESUMPTION_DESCRIPTION, | 805 IDS_FLAGS_DOWNLOAD_RESUMPTION_DESCRIPTION, |
| 806 kOsDesktop, | 806 kOsDesktop, |
| 807 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption)}, | 807 FEATURE_VALUE_TYPE(features::kDownloadResumption)}, |
| 808 #if defined(OS_CHROMEOS) | 808 #if defined(OS_CHROMEOS) |
| 809 {"download-notification", | 809 {"download-notification", |
| 810 IDS_FLAGS_DOWNLOAD_NOTIFICATION_NAME, | 810 IDS_FLAGS_DOWNLOAD_NOTIFICATION_NAME, |
| 811 IDS_FLAGS_DOWNLOAD_NOTIFICATION_DESCRIPTION, | 811 IDS_FLAGS_DOWNLOAD_NOTIFICATION_DESCRIPTION, |
| 812 kOsCrOS, | 812 kOsCrOS, |
| 813 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableDownloadNotification)}, | 813 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableDownloadNotification)}, |
| 814 #endif | 814 #endif |
| 815 #if defined(ENABLE_PLUGINS) | 815 #if defined(ENABLE_PLUGINS) |
| 816 {"allow-nacl-socket-api", | 816 {"allow-nacl-socket-api", |
| 817 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, | 817 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, |
| (...skipping 1468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2286 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2286 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2287 | 2287 |
| 2288 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2288 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2289 *count = arraysize(kFeatureEntries); | 2289 *count = arraysize(kFeatureEntries); |
| 2290 return kFeatureEntries; | 2290 return kFeatureEntries; |
| 2291 } | 2291 } |
| 2292 | 2292 |
| 2293 } // namespace testing | 2293 } // namespace testing |
| 2294 | 2294 |
| 2295 } // namespace about_flags | 2295 } // namespace about_flags |
| OLD | NEW |