blob: 2267be3bd142081fa9387dedafee085489ed991f [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_RTC_API_NAME_H_
#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_RTC_API_NAME_H_
namespace blink {
// Helper enum used for histogramming calls to WebRTC APIs from JavaScript.
// The entries are linked to UMA values in //tools/metrics/histograms/enums.xml
// and shouldn't be renumbered or removed.
enum class WebRTCAPIName {
kGetUserMedia,
kPeerConnection,
kDeprecatedPeerConnection,
kRTCPeerConnection,
kEnumerateDevices,
kMediaStreamRecorder,
kCanvasCaptureStream,
kVideoCaptureStream,
kGetDisplayMedia,
kInvalidName
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_RTC_API_NAME_H_