#ifndef SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_MAC_H_
#define SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_MAC_H_
#import <os/availability.h>
#include "base/mac/scoped_nsobject.h"
#include "services/shape_detection/public/mojom/textdetection.mojom.h"
@class CIDetector;
namespace shape_detection {
class TextDetectionImplMac : public mojom::TextDetection {
public:
TextDetectionImplMac();
TextDetectionImplMac(const TextDetectionImplMac&) = delete;
TextDetectionImplMac& operator=(const TextDetectionImplMac&) = delete;
~TextDetectionImplMac() override;
void Detect(const SkBitmap& bitmap,
mojom::TextDetection::DetectCallback callback) override;
private:
base::scoped_nsobject<CIDetector> detector_;
};
}
#endif