#include "services/device/geolocation/fake_location_provider.h"
#include "base/compiler_specific.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "base/memory/weak_ptr.h"
#include "base/task/single_thread_task_runner.h"
namespace device {
FakeLocationProvider::FakeLocationProvider()
: … { … }
FakeLocationProvider::~FakeLocationProvider() = default;
void FakeLocationProvider::HandlePositionChanged(
mojom::GeopositionResultPtr result) { … }
void FakeLocationProvider::FillDiagnostics(
mojom::GeolocationDiagnostics& diagnostics) { … }
void FakeLocationProvider::SetUpdateCallback(
const LocationProviderUpdateCallback& callback) { … }
void FakeLocationProvider::StartProvider(bool high_accuracy) { … }
void FakeLocationProvider::StopProvider() { … }
const mojom::GeopositionResult* FakeLocationProvider::GetPosition() { … }
void FakeLocationProvider::OnPermissionGranted() { … }
}