#include "media/base/tuneable.h"
#include <algorithm>
#include <random>
#include "base/hash/hash.h"
#include "base/metrics/field_trial_params.h"
#include "base/strings/string_number_conversions.h"
#include "base/time/time.h"
#include "media/base/media_switches.h"
namespace {
template <typename T>
T GetParam(const char* name,
T minimum_value,
T default_value,
T maximum_value) { … }
template <>
int GetParam<int>(const char* name,
int minimum_value,
int default_value,
int maximum_value) { … }
template <>
base::TimeDelta GetParam<base::TimeDelta>(const char* name,
base::TimeDelta minimum_value,
base::TimeDelta default_value,
base::TimeDelta maximum_value) { … }
}
namespace media {
template <typename T>
Tuneable<T>::Tuneable(const char* name,
T minimum_value,
T default_value,
T maximum_value) { … }
template <typename T>
Tuneable<T>::~Tuneable() = default;
template class MEDIA_EXPORT Tuneable<int>;
template class MEDIA_EXPORT Tuneable<base::TimeDelta>;
template class MEDIA_EXPORT Tuneable<size_t>;
}