// third_party/blink/public/mojom/associated_interfaces/associated_interfaces.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_ASSOCIATED_INTERFACES_ASSOCIATED_INTERFACES_MOJOM_BLINK_TEST_UTILS_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_ASSOCIATED_INTERFACES_ASSOCIATED_INTERFACES_MOJOM_BLINK_TEST_UTILS_H_

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


namespace blink::mojom::blink {


class PLATFORM_EXPORT AssociatedInterfaceInterceptorForTesting : public AssociatedInterface {
  virtual AssociatedInterface* GetForwardingInterface() = 0;
};
class PLATFORM_EXPORT AssociatedInterfaceAsyncWaiter {
 public:
  explicit AssociatedInterfaceAsyncWaiter(AssociatedInterface* proxy);

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

  ~AssociatedInterfaceAsyncWaiter();

 private:
  AssociatedInterface* const proxy_;
};


class PLATFORM_EXPORT AssociatedInterfaceProviderInterceptorForTesting : public AssociatedInterfaceProvider {
  virtual AssociatedInterfaceProvider* GetForwardingInterface() = 0;
  void GetAssociatedInterface(const ::blink::String& name, ::mojo::PendingAssociatedReceiver<AssociatedInterface> receiver) override;
};
class PLATFORM_EXPORT AssociatedInterfaceProviderAsyncWaiter {
 public:
  explicit AssociatedInterfaceProviderAsyncWaiter(AssociatedInterfaceProvider* proxy);

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

  ~AssociatedInterfaceProviderAsyncWaiter();

 private:
  AssociatedInterfaceProvider* const proxy_;
};




}  // blink::mojom::blink

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_ASSOCIATED_INTERFACES_ASSOCIATED_INTERFACES_MOJOM_BLINK_TEST_UTILS_H_