// services/viz/public/mojom/compositing/copy_output_request.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 SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_COPY_OUTPUT_REQUEST_MOJOM_BLINK_TEST_UTILS_H_
#define SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_COPY_OUTPUT_REQUEST_MOJOM_BLINK_TEST_UTILS_H_

#include "services/viz/public/mojom/compositing/copy_output_request.mojom-blink.h"
#include "third_party/blink/public/platform/web_common.h"


namespace viz::mojom::blink {


class BLINK_PLATFORM_EXPORT CopyOutputResultSenderInterceptorForTesting : public CopyOutputResultSender {
  virtual CopyOutputResultSender* GetForwardingInterface() = 0;
  void SendResult(::viz::mojom::blink::CopyOutputResultPtr result) override;
};
class BLINK_PLATFORM_EXPORT CopyOutputResultSenderAsyncWaiter {
 public:
  explicit CopyOutputResultSenderAsyncWaiter(CopyOutputResultSender* proxy);

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

  ~CopyOutputResultSenderAsyncWaiter();

 private:
  CopyOutputResultSender* const proxy_;
};




}  // viz::mojom::blink

#endif  // SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_COPY_OUTPUT_REQUEST_MOJOM_BLINK_TEST_UTILS_H_