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

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

Issue 2044233002: Remove download resumption feature flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 IDS_FLAGS_TOUCH_ADJUSTMENT_DESCRIPTION, 790 IDS_FLAGS_TOUCH_ADJUSTMENT_DESCRIPTION,
791 kOsWin | kOsLinux | kOsCrOS | kOsAndroid, 791 kOsWin | kOsLinux | kOsCrOS | kOsAndroid,
792 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableTouchAdjustment)}, 792 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableTouchAdjustment)},
793 #if defined(OS_CHROMEOS) 793 #if defined(OS_CHROMEOS)
794 {"network-portal-notification", IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_NAME, 794 {"network-portal-notification", IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_NAME,
795 IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_DESCRIPTION, kOsCrOS, 795 IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_DESCRIPTION, kOsCrOS,
796 ENABLE_DISABLE_VALUE_TYPE( 796 ENABLE_DISABLE_VALUE_TYPE(
797 chromeos::switches::kEnableNetworkPortalNotification, 797 chromeos::switches::kEnableNetworkPortalNotification,
798 chromeos::switches::kDisableNetworkPortalNotification)}, 798 chromeos::switches::kDisableNetworkPortalNotification)},
799 #endif 799 #endif
800 {"enable-download-resumption", IDS_FLAGS_DOWNLOAD_RESUMPTION_NAME,
801 IDS_FLAGS_DOWNLOAD_RESUMPTION_DESCRIPTION, kOsAll,
802 FEATURE_VALUE_TYPE(features::kDownloadResumption)},
803 #if defined(OS_ANDROID) 800 #if defined(OS_ANDROID)
804 {"enable-system-download-manager", 801 {"enable-system-download-manager",
805 IDS_FLAGS_ENABLE_SYSTEM_DOWNLOAD_MANAGER_NAME, 802 IDS_FLAGS_ENABLE_SYSTEM_DOWNLOAD_MANAGER_NAME,
806 IDS_FLAGS_ENABLE_SYSTEM_DOWNLOAD_MANAGER_DESCRIPTION, kOsAndroid, 803 IDS_FLAGS_ENABLE_SYSTEM_DOWNLOAD_MANAGER_DESCRIPTION, kOsAndroid,
807 FEATURE_VALUE_TYPE(chrome::android::kSystemDownloadManager)}, 804 FEATURE_VALUE_TYPE(chrome::android::kSystemDownloadManager)},
808 {"enable-media-document-download-button", 805 {"enable-media-document-download-button",
809 IDS_FLAGS_MEDIA_DOCUMENT_DOWNLOAD_BUTTON_NAME, 806 IDS_FLAGS_MEDIA_DOCUMENT_DOWNLOAD_BUTTON_NAME,
810 IDS_FLAGS_MEDIA_DOCUMENT_DOWNLOAD_BUTTON_DESCRIPTION, kOsAndroid, 807 IDS_FLAGS_MEDIA_DOCUMENT_DOWNLOAD_BUTTON_DESCRIPTION, kOsAndroid,
811 FEATURE_VALUE_TYPE(features::kMediaDocumentDownloadButton)}, 808 FEATURE_VALUE_TYPE(features::kMediaDocumentDownloadButton)},
812 #endif 809 #endif
(...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after
2110 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2107 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2111 2108
2112 const FeatureEntry* GetFeatureEntries(size_t* count) { 2109 const FeatureEntry* GetFeatureEntries(size_t* count) {
2113 *count = arraysize(kFeatureEntries); 2110 *count = arraysize(kFeatureEntries);
2114 return kFeatureEntries; 2111 return kFeatureEntries;
2115 } 2112 }
2116 2113
2117 } // namespace testing 2114 } // namespace testing
2118 2115
2119 } // namespace about_flags 2116 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698