#include "extensions/browser/api/audio/audio_device_id_calculator.h"
#include "base/strings/string_number_conversions.h"
#include "components/prefs/pref_service.h"
#include "components/prefs/scoped_user_pref_update.h"
#include "extensions/browser/api/audio/pref_names.h"
#include "extensions/browser/extensions_browser_client.h"
namespace extensions {
AudioDeviceIdCalculator::AudioDeviceIdCalculator(
content::BrowserContext* context)
: … { … }
AudioDeviceIdCalculator::~AudioDeviceIdCalculator() = default;
std::string AudioDeviceIdCalculator::GetStableDeviceId(
uint64_t audio_service_stable_id) { … }
void AudioDeviceIdCalculator::LoadStableIdMap() { … }
std::string AudioDeviceIdCalculator::GenerateNewStableDeviceId(
const std::string& audio_service_stable_id) { … }
}