#include "chrome/browser/media/prefs/capture_device_ranking.h"
#include "chrome/browser/media/prefs/pref_names.h"
#include "media/capture/video/video_capture_device_info.h"
#include <string>
namespace media_prefs {
void RegisterUserPrefs(PrefRegistrySimple* registry) { … }
namespace internal {
std::string DeviceInfoToStableId(
const media::VideoCaptureDeviceInfo& device_info) { … }
std::string DeviceInfoToStableId(const blink::WebMediaDeviceInfo& device_info) { … }
std::string DeviceInfoToStableId(const blink::MediaStreamDevice& device_info) { … }
std::string DeviceInfoToStableId(
const media::AudioDeviceDescription& device_info) { … }
std::string DeviceInfoToUniqueId(
const media::VideoCaptureDeviceInfo& device_info) { … }
std::string DeviceInfoToUniqueId(const blink::WebMediaDeviceInfo& device_info) { … }
std::string DeviceInfoToUniqueId(const blink::MediaStreamDevice& device_info) { … }
std::string DeviceInfoToUniqueId(
const media::AudioDeviceDescription& device_info) { … }
}
}