// services/webnn/public/mojom/webnn_compiler_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_WEBNN_PUBLIC_MOJOM_WEBNN_COMPILER_CONTEXT_MOJOM_TEST_UTILS_H_
#define SERVICES_WEBNN_PUBLIC_MOJOM_WEBNN_COMPILER_CONTEXT_MOJOM_TEST_UTILS_H_

#include "services/webnn/public/mojom/webnn_compiler_context.mojom.h"
#include "base/component_export.h"


namespace webnn::mojom {


class COMPONENT_EXPORT(WEBNN_MOJOM) WebNNCompilerContextInterceptorForTesting : public WebNNCompilerContext {
  virtual WebNNCompilerContext* GetForwardingInterface() = 0;
  void CreateGraphBuilder(::mojo::PendingReceiver<::webnn::mojom::WebNNGraphBuilder> receiver) override;
};
class COMPONENT_EXPORT(WEBNN_MOJOM) WebNNCompilerContextAsyncWaiter {
 public:
  explicit WebNNCompilerContextAsyncWaiter(WebNNCompilerContext* proxy);

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

  ~WebNNCompilerContextAsyncWaiter();

 private:
  WebNNCompilerContext* const proxy_;
};




}  // webnn::mojom

#endif  // SERVICES_WEBNN_PUBLIC_MOJOM_WEBNN_COMPILER_CONTEXT_MOJOM_TEST_UTILS_H_