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

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

Issue 2844453002: Update CM API IDL to use SecureContext (Closed)
Patch Set: Rebase Created 3 years, 7 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
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 1718 matching lines...) Expand 10 before | Expand all | Expand 10 after
1729 flag_descriptions::kWakeOnPacketsDescription, kOsCrOSOwnerOnly, 1729 flag_descriptions::kWakeOnPacketsDescription, kOsCrOSOwnerOnly,
1730 SINGLE_VALUE_TYPE(chromeos::switches::kWakeOnWifiPacket)}, 1730 SINGLE_VALUE_TYPE(chromeos::switches::kWakeOnWifiPacket)},
1731 #endif // OS_CHROMEOS 1731 #endif // OS_CHROMEOS
1732 {"enable-memory-coordinator", flag_descriptions::kMemoryCoordinatorName, 1732 {"enable-memory-coordinator", flag_descriptions::kMemoryCoordinatorName,
1733 flag_descriptions::kMemoryCoordinatorDescription, 1733 flag_descriptions::kMemoryCoordinatorDescription,
1734 kOsAndroid | kOsCrOS | kOsLinux | kOsWin, 1734 kOsAndroid | kOsCrOS | kOsLinux | kOsWin,
1735 FEATURE_VALUE_TYPE(features::kMemoryCoordinator)}, 1735 FEATURE_VALUE_TYPE(features::kMemoryCoordinator)},
1736 {"enable-tab-audio-muting", flag_descriptions::kTabAudioMutingName, 1736 {"enable-tab-audio-muting", flag_descriptions::kTabAudioMutingName,
1737 flag_descriptions::kTabAudioMutingDescription, kOsDesktop, 1737 flag_descriptions::kTabAudioMutingDescription, kOsDesktop,
1738 SINGLE_VALUE_TYPE(switches::kEnableTabAudioMuting)}, 1738 SINGLE_VALUE_TYPE(switches::kEnableTabAudioMuting)},
1739 {"enable-credential-manager-api",
1740 flag_descriptions::kCredentialManagerApiName,
1741 flag_descriptions::kCredentialManagerApiDescription, kOsAll,
1742 FEATURE_VALUE_TYPE(features::kCredentialManagementAPI)},
1743 {"reduced-referrer-granularity", 1739 {"reduced-referrer-granularity",
1744 flag_descriptions::kReducedReferrerGranularityName, 1740 flag_descriptions::kReducedReferrerGranularityName,
1745 flag_descriptions::kReducedReferrerGranularityDescription, kOsAll, 1741 flag_descriptions::kReducedReferrerGranularityDescription, kOsAll,
1746 SINGLE_VALUE_TYPE(switches::kReducedReferrerGranularity)}, 1742 SINGLE_VALUE_TYPE(switches::kReducedReferrerGranularity)},
1747 #if defined(OS_CHROMEOS) 1743 #if defined(OS_CHROMEOS)
1748 {"disable-new-zip-unpacker", flag_descriptions::kNewZipUnpackerName, 1744 {"disable-new-zip-unpacker", flag_descriptions::kNewZipUnpackerName,
1749 flag_descriptions::kNewZipUnpackerDescription, kOsCrOS, 1745 flag_descriptions::kNewZipUnpackerDescription, kOsCrOS,
1750 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableNewZIPUnpacker)}, 1746 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableNewZIPUnpacker)},
1751 #endif // OS_CHROMEOS 1747 #endif // OS_CHROMEOS
1752 #if defined(OS_ANDROID) 1748 #if defined(OS_ANDROID)
(...skipping 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after
2978 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2974 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2979 2975
2980 const FeatureEntry* GetFeatureEntries(size_t* count) { 2976 const FeatureEntry* GetFeatureEntries(size_t* count) {
2981 *count = arraysize(kFeatureEntries); 2977 *count = arraysize(kFeatureEntries);
2982 return kFeatureEntries; 2978 return kFeatureEntries;
2983 } 2979 }
2984 2980
2985 } // namespace testing 2981 } // namespace testing
2986 2982
2987 } // namespace about_flags 2983 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698