blob: b5ba089445d0335a5e742d2113ada995025004e5 [file] [log] [blame]
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_ML_ML_SERVICE_FACTORY_H_
#define CONTENT_BROWSER_ML_ML_SERVICE_FACTORY_H_
#include "components/ml/mojom/ml_service.mojom.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
namespace content {
// A simple API used by browser interface broker. The main motivation is to
// expose an identical `Create()` interface over different platforms.
void CreateMLService(mojo::PendingReceiver<ml::model_loader::mojom::MLService>);
} // namespace content
#endif // CONTENT_BROWSER_ML_ML_SERVICE_FACTORY_H_