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

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

Issue 1704793002: Remove kDisableDownloadNotification and stop compiling shelf code on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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/browser/BUILD.gn ('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 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 #if defined(OS_CHROMEOS) 771 #if defined(OS_CHROMEOS)
772 {"network-portal-notification", IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_NAME, 772 {"network-portal-notification", IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_NAME,
773 IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_DESCRIPTION, kOsCrOS, 773 IDS_FLAGS_NETWORK_PORTAL_NOTIFICATION_DESCRIPTION, kOsCrOS,
774 ENABLE_DISABLE_VALUE_TYPE( 774 ENABLE_DISABLE_VALUE_TYPE(
775 chromeos::switches::kEnableNetworkPortalNotification, 775 chromeos::switches::kEnableNetworkPortalNotification,
776 chromeos::switches::kDisableNetworkPortalNotification)}, 776 chromeos::switches::kDisableNetworkPortalNotification)},
777 #endif 777 #endif
778 {"enable-download-resumption", IDS_FLAGS_DOWNLOAD_RESUMPTION_NAME, 778 {"enable-download-resumption", IDS_FLAGS_DOWNLOAD_RESUMPTION_NAME,
779 IDS_FLAGS_DOWNLOAD_RESUMPTION_DESCRIPTION, kOsAll, 779 IDS_FLAGS_DOWNLOAD_RESUMPTION_DESCRIPTION, kOsAll,
780 FEATURE_VALUE_TYPE(features::kDownloadResumption)}, 780 FEATURE_VALUE_TYPE(features::kDownloadResumption)},
781 #if defined(OS_CHROMEOS)
782 {"download-notification", IDS_FLAGS_DOWNLOAD_NOTIFICATION_NAME,
783 IDS_FLAGS_DOWNLOAD_NOTIFICATION_DESCRIPTION, kOsCrOS,
784 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableDownloadNotification)},
785 #endif
786 #if defined(ENABLE_PLUGINS) 781 #if defined(ENABLE_PLUGINS)
787 {"allow-nacl-socket-api", IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, 782 {"allow-nacl-socket-api", IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME,
788 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, kOsDesktop, 783 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, kOsDesktop,
789 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*")}, 784 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*")},
790 #endif 785 #endif
791 #if defined(OS_CHROMEOS) 786 #if defined(OS_CHROMEOS)
792 {"allow-touchpad-three-finger-click", 787 {"allow-touchpad-three-finger-click",
793 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_NAME, 788 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_NAME,
794 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_DESCRIPTION, kOsCrOS, 789 IDS_FLAGS_ALLOW_TOUCHPAD_THREE_FINGER_CLICK_DESCRIPTION, kOsCrOS,
795 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchpadThreeFingerClick)}, 790 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchpadThreeFingerClick)},
(...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after
2031 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2026 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2032 2027
2033 const FeatureEntry* GetFeatureEntries(size_t* count) { 2028 const FeatureEntry* GetFeatureEntries(size_t* count) {
2034 *count = arraysize(kFeatureEntries); 2029 *count = arraysize(kFeatureEntries);
2035 return kFeatureEntries; 2030 return kFeatureEntries;
2036 } 2031 }
2037 2032
2038 } // namespace testing 2033 } // namespace testing
2039 2034
2040 } // namespace about_flags 2035 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698