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

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

Issue 2839823002: Android: enable HW encoding (Closed)
Patch Set: Created 3 years, 8 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 | chrome/browser/flag_descriptions.h » ('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 963 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 {"disable-webrtc-hw-decoding", flag_descriptions::kWebrtcHwDecodingName, 974 {"disable-webrtc-hw-decoding", flag_descriptions::kWebrtcHwDecodingName,
975 flag_descriptions::kWebrtcHwDecodingDescription, kOsAndroid | kOsCrOS, 975 flag_descriptions::kWebrtcHwDecodingDescription, kOsAndroid | kOsCrOS,
976 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWDecoding)}, 976 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWDecoding)},
977 {"disable-webrtc-hw-encoding", flag_descriptions::kWebrtcHwEncodingName, 977 {"disable-webrtc-hw-encoding", flag_descriptions::kWebrtcHwEncodingName,
978 flag_descriptions::kWebrtcHwEncodingDescription, kOsAndroid | kOsCrOS, 978 flag_descriptions::kWebrtcHwEncodingDescription, kOsAndroid | kOsCrOS,
979 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding)}, 979 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding)},
980 {"enable-webrtc-hw-h264-encoding", 980 {"enable-webrtc-hw-h264-encoding",
981 flag_descriptions::kWebrtcHwH264EncodingName, 981 flag_descriptions::kWebrtcHwH264EncodingName,
982 flag_descriptions::kWebrtcHwH264EncodingDescription, kOsAndroid | kOsCrOS, 982 flag_descriptions::kWebrtcHwH264EncodingDescription, kOsAndroid | kOsCrOS,
983 FEATURE_VALUE_TYPE(features::kWebRtcHWH264Encoding)}, 983 FEATURE_VALUE_TYPE(features::kWebRtcHWH264Encoding)},
984 {"enable-webrtc-hw-vp8-encoding",
985 flag_descriptions::kWebrtcHwVP8EncodingName,
986 flag_descriptions::kWebrtcHwVP8EncodingDescription, kOsAndroid | kOsCrOS,
987 FEATURE_VALUE_TYPE(features::kWebRtcHWVP8Encoding)},
984 {"enable-webrtc-srtp-aes-gcm", flag_descriptions::kWebrtcSrtpAesGcmName, 988 {"enable-webrtc-srtp-aes-gcm", flag_descriptions::kWebrtcSrtpAesGcmName,
985 flag_descriptions::kWebrtcSrtpAesGcmDescription, kOsAll, 989 flag_descriptions::kWebrtcSrtpAesGcmDescription, kOsAll,
986 SINGLE_VALUE_TYPE(switches::kEnableWebRtcSrtpAesGcm)}, 990 SINGLE_VALUE_TYPE(switches::kEnableWebRtcSrtpAesGcm)},
987 {"enable-webrtc-stun-origin", flag_descriptions::kWebrtcStunOriginName, 991 {"enable-webrtc-stun-origin", flag_descriptions::kWebrtcStunOriginName,
988 flag_descriptions::kWebrtcStunOriginDescription, kOsAll, 992 flag_descriptions::kWebrtcStunOriginDescription, kOsAll,
989 SINGLE_VALUE_TYPE(switches::kEnableWebRtcStunOrigin)}, 993 SINGLE_VALUE_TYPE(switches::kEnableWebRtcStunOrigin)},
990 {"WebRtcUseEchoCanceller3", flag_descriptions::kWebrtcEchoCanceller3Name, 994 {"WebRtcUseEchoCanceller3", flag_descriptions::kWebrtcEchoCanceller3Name,
991 flag_descriptions::kWebrtcEchoCanceller3Description, kOsAll, 995 flag_descriptions::kWebrtcEchoCanceller3Description, kOsAll,
992 FEATURE_VALUE_TYPE(features::kWebRtcUseEchoCanceller3)}, 996 FEATURE_VALUE_TYPE(features::kWebRtcUseEchoCanceller3)},
993 #endif // ENABLE_WEBRTC 997 #endif // ENABLE_WEBRTC
(...skipping 1963 matching lines...) Expand 10 before | Expand all | Expand 10 after
2957 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2961 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2958 2962
2959 const FeatureEntry* GetFeatureEntries(size_t* count) { 2963 const FeatureEntry* GetFeatureEntries(size_t* count) {
2960 *count = arraysize(kFeatureEntries); 2964 *count = arraysize(kFeatureEntries);
2961 return kFeatureEntries; 2965 return kFeatureEntries;
2962 } 2966 }
2963 2967
2964 } // namespace testing 2968 } // namespace testing
2965 2969
2966 } // namespace about_flags 2970 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698