Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 1538933002: Enable download resumption by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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(content::kDownloadResumptionFeature)},
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 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after
2274 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2274 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2275 2275
2276 const FeatureEntry* GetFeatureEntries(size_t* count) { 2276 const FeatureEntry* GetFeatureEntries(size_t* count) {
2277 *count = arraysize(kFeatureEntries); 2277 *count = arraysize(kFeatureEntries);
2278 return kFeatureEntries; 2278 return kFeatureEntries;
2279 } 2279 }
2280 2280
2281 } // namespace testing 2281 } // namespace testing
2282 2282
2283 } // namespace about_flags 2283 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/download/download_browsertest.cc » ('j') | chrome/browser/download/download_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698