#ifndef SERVICES_ON_DEVICE_MODEL_ANDROID_ON_DEVICE_MODEL_BRIDGE_H_
#define SERVICES_ON_DEVICE_MODEL_ANDROID_ON_DEVICE_MODEL_BRIDGE_H_
#include "base/android/scoped_java_ref.h"
#include "components/optimization_guide/proto/model_execution.pb.h"
#include "services/on_device_model/android/downloader_params.mojom.h"
#include "services/on_device_model/public/mojom/on_device_model.mojom.h"
namespace on_device_model {
class OnDeviceModelBridge {
public:
static base::android::ScopedJavaLocalRef<jobject> CreateSession(
optimization_guide::proto::ModelExecutionFeature feature,
on_device_model::mojom::SessionParamsPtr params);
static base::android::ScopedJavaLocalRef<jobject> CreateModelDownloader(
optimization_guide::proto::ModelExecutionFeature feature,
mojom::DownloaderParamsPtr params);
};
}
#endif