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

#include "third_party/blink/public/mojom/associated_interfaces/associated_interfaces.mojom.h"
#include "third_party/blink/public/common/common_export.h"


namespace blink::mojom {


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

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

  ~AssociatedInterfaceAsyncWaiter();

 private:
  AssociatedInterface* const proxy_;
};


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

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

  ~AssociatedInterfaceProviderAsyncWaiter();

 private:
  AssociatedInterfaceProvider* const proxy_;
};




}  // blink::mojom

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_ASSOCIATED_INTERFACES_ASSOCIATED_INTERFACES_MOJOM_TEST_UTILS_H_