#include "chrome/browser/policy/messaging_layer/upload/network_condition_service.h"
#include <cstddef>
#include "base/functional/bind.h"
#include "base/task/sequenced_task_runner.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
namespace reporting {
NetworkConditionService::NetworkConditionService() = default;
NetworkConditionService::~NetworkConditionService() = default;
uint64_t NetworkConditionService::GetUploadRate() const { … }
NetworkConditionService::NetworkConditionServiceImpl::
~NetworkConditionServiceImpl() { … }
NetworkConditionService::NetworkConditionServiceImpl::
NetworkConditionServiceImpl() { … }
uint64_t
NetworkConditionService::NetworkConditionServiceImpl::ConvertKbpsToBytesPerSec(
int32_t kbps) { … }
NetworkConditionService::NetworkConditionServiceImpl::UniquePtr
NetworkConditionService::NetworkConditionServiceImpl::MakeUnique() { … }
uint64_t NetworkConditionService::NetworkConditionServiceImpl::GetUploadRate()
const { … }
NetworkConditionService::NetworkConditionServiceImpl&
NetworkConditionService::NetworkConditionServiceImpl::SetUploadRateKbps(
int32_t upload_rate_kbps) { … }
void NetworkConditionService::NetworkConditionServiceImpl::
OnRTTOrThroughputEstimatesComputed(base::TimeDelta http_rtt,
base::TimeDelta transport_rtt,
int32_t downstream_throughput_kbps) { … }
void NetworkConditionService::NetworkConditionServiceImpl::
RegisterRTTAndThroughputEstimatesObserver() { … }
}