// third_party/blink/public/mojom/geolocation/geolocation_service.mojom-blink-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 THIRD_PARTY_BLINK_PUBLIC_MOJOM_GEOLOCATION_GEOLOCATION_SERVICE_MOJOM_BLINK_TEST_UTILS_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_GEOLOCATION_GEOLOCATION_SERVICE_MOJOM_BLINK_TEST_UTILS_H_

#include "third_party/blink/public/mojom/geolocation/geolocation_service.mojom-blink.h"
#include "third_party/blink/renderer/platform/platform_export.h"


namespace blink::mojom::blink {


class PLATFORM_EXPORT GeolocationServiceInterceptorForTesting : public GeolocationService {
  virtual GeolocationService* GetForwardingInterface() = 0;
  void CreateGeolocation(::mojo::PendingReceiver<::device::mojom::blink::Geolocation> receiver, bool user_gesture, ::blink::mojom::blink::GeolocationAccuracy accuracy, CreateGeolocationCallback callback) override;
};
class PLATFORM_EXPORT GeolocationServiceAsyncWaiter {
 public:
  explicit GeolocationServiceAsyncWaiter(GeolocationService* proxy);

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

  ~GeolocationServiceAsyncWaiter();
  void CreateGeolocation(
      ::mojo::PendingReceiver<::device::mojom::blink::Geolocation> receiver, bool user_gesture, ::blink::mojom::blink::GeolocationAccuracy accuracy, ::blink::mojom::blink::PermissionStatus* out_status);
  ::blink::mojom::blink::PermissionStatus CreateGeolocation(::mojo::PendingReceiver<::device::mojom::blink::Geolocation> receiver, bool user_gesture, ::blink::mojom::blink::GeolocationAccuracy accuracy);

 private:
  GeolocationService* const proxy_;
};




}  // blink::mojom::blink

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_GEOLOCATION_GEOLOCATION_SERVICE_MOJOM_BLINK_TEST_UTILS_H_