#include "net/nqe/network_quality_store.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/observer_list.h"
#include "base/task/single_thread_task_runner.h"
#include "net/base/network_change_notifier.h"
namespace net::nqe::internal {
NetworkQualityStore::NetworkQualityStore() { … }
NetworkQualityStore::~NetworkQualityStore() { … }
void NetworkQualityStore::Add(
const nqe::internal::NetworkID& network_id,
const nqe::internal::CachedNetworkQuality& cached_network_quality) { … }
bool NetworkQualityStore::GetById(
const nqe::internal::NetworkID& network_id,
nqe::internal::CachedNetworkQuality* cached_network_quality) const { … }
void NetworkQualityStore::AddNetworkQualitiesCacheObserver(
NetworkQualitiesCacheObserver* observer) { … }
void NetworkQualityStore::RemoveNetworkQualitiesCacheObserver(
NetworkQualitiesCacheObserver* observer) { … }
void NetworkQualityStore::NotifyCacheObserverIfPresent(
MayBeDangling<NetworkQualitiesCacheObserver> observer) const { … }
}