#ifndef SERVICES_WEBNN_WEBNN_CONTEXT_IMPL_H_
#define SERVICES_WEBNN_WEBNN_CONTEXT_IMPL_H_
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "services/webnn/public/mojom/webnn_service.mojom.h"
namespace webnn {
class WebNNContextImpl : public mojom::WebNNContext {
public:
WebNNContextImpl();
WebNNContextImpl(const WebNNContextImpl&) = delete;
WebNNContextImpl& operator=(const WebNNContextImpl&) = delete;
~WebNNContextImpl() override;
static void Create(mojo::PendingReceiver<mojom::WebNNContext> receiver);
private:
void CreateGraph(CreateGraphCallback callback) override;
};
}
#endif