#include "services/device/geolocation/public_ip_address_geolocator.h"
#include "base/functional/bind.h"
#include "base/metrics/histogram_functions.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
#include "services/device/geolocation/public_ip_address_location_notifier.h"
namespace device {
namespace {
void RecordUmaPublicIpAddressGeolocatorClientId(
mojom::GeolocationClientId client_id) { … }
}
PublicIpAddressGeolocator::PublicIpAddressGeolocator(
const net::PartialNetworkTrafficAnnotationTag tag,
PublicIpAddressLocationNotifier* const notifier,
mojom::GeolocationClientId client_id,
BadMessageCallback callback)
: … { … }
PublicIpAddressGeolocator::~PublicIpAddressGeolocator() { … }
void PublicIpAddressGeolocator::QueryNextPosition(
QueryNextPositionCallback callback) { … }
void PublicIpAddressGeolocator::SetHighAccuracy(bool ) { … }
void PublicIpAddressGeolocator::OnPositionUpdate(
mojom::GeopositionResultPtr result) { … }
}