chromium/components/language/content/browser/test_utils.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/language/content/browser/test_utils.h"

#include "base/time/time.h"

namespace language {

MockGeoLocation::MockGeoLocation() {}
MockGeoLocation::~MockGeoLocation() {}

void MockGeoLocation::SetHighAccuracy(bool high_accuracy) {}

void MockGeoLocation::QueryNextPosition(QueryNextPositionCallback callback) {}

void MockGeoLocation::BindGeoLocation(
    mojo::PendingReceiver<device::mojom::Geolocation> receiver) {}

void MockGeoLocation::MoveToLocation(float latitude, float longitude) {}

MockIpGeoLocationProvider::MockIpGeoLocationProvider(
    MockGeoLocation* mock_geo_location)
    :{}

MockIpGeoLocationProvider::~MockIpGeoLocationProvider() {}

void MockIpGeoLocationProvider::Bind(
    mojo::PendingReceiver<device::mojom::PublicIpAddressGeolocationProvider>
        receiver) {}

void MockIpGeoLocationProvider::CreateGeolocation(
    const net::MutablePartialNetworkTrafficAnnotationTag& /* unused */,
    mojo::PendingReceiver<device::mojom::Geolocation> receiver,
    device::mojom::GeolocationClientId client_id) {}

}  // namespace language