// services/device/public/mojom/geolocation_context.mojom-test-utils.h is auto generated by mojom_bindings_generator.py, do not edit

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

#ifndef SERVICES_DEVICE_PUBLIC_MOJOM_GEOLOCATION_CONTEXT_MOJOM_TEST_UTILS_H_
#define SERVICES_DEVICE_PUBLIC_MOJOM_GEOLOCATION_CONTEXT_MOJOM_TEST_UTILS_H_

#include "services/device/public/mojom/geolocation_context.mojom.h"


namespace device::mojom {


class  GeolocationContextInterceptorForTesting : public GeolocationContext {
  virtual GeolocationContext* GetForwardingInterface() = 0;
  void BindGeolocation(::mojo::PendingReceiver<::device::mojom::Geolocation> receiver, const ::url::Origin& requesting_origin, ::device::mojom::GeolocationClientId client_id, bool has_precise_permission) override;
  void OnPermissionUpdated(const ::url::Origin& origin, GeolocationPermissionLevel permission_level) override;
  void SetOverride(::device::mojom::GeopositionResultPtr result) override;
  void ClearOverride() override;
};
class  GeolocationContextAsyncWaiter {
 public:
  explicit GeolocationContextAsyncWaiter(GeolocationContext* proxy);

  GeolocationContextAsyncWaiter(const GeolocationContextAsyncWaiter&) = delete;
  GeolocationContextAsyncWaiter& operator=(const GeolocationContextAsyncWaiter&) = delete;

  ~GeolocationContextAsyncWaiter();

 private:
  GeolocationContext* const proxy_;
};




}  // device::mojom

#endif  // SERVICES_DEVICE_PUBLIC_MOJOM_GEOLOCATION_CONTEXT_MOJOM_TEST_UTILS_H_