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

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

Issue 1603153003: Make download resumption a user flag on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | no next file » | 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 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698