#ifndef SERVICES_SHAPE_DETECTION_BARCODE_DETECTION_PROVIDER_CHROME_H_
#define SERVICES_SHAPE_DETECTION_BARCODE_DETECTION_PROVIDER_CHROME_H_
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "services/shape_detection/public/mojom/barcodedetection_provider.mojom.h"
namespace shape_detection {
class BarcodeDetectionProviderChrome : public mojom::BarcodeDetectionProvider {
public:
BarcodeDetectionProviderChrome() = default;
BarcodeDetectionProviderChrome(const BarcodeDetectionProviderChrome&) =
delete;
BarcodeDetectionProviderChrome& operator=(
const BarcodeDetectionProviderChrome&) = delete;
~BarcodeDetectionProviderChrome() override = default;
static void Create(
mojo::PendingReceiver<mojom::BarcodeDetectionProvider> receiver);
void CreateBarcodeDetection(
mojo::PendingReceiver<shape_detection::mojom::BarcodeDetection> receiver,
shape_detection::mojom::BarcodeDetectorOptionsPtr options) override;
void EnumerateSupportedFormats(
EnumerateSupportedFormatsCallback callback) override;
};
}
#endif