text_detection_impl.h 891 B

123456789101112131415161718192021222324252627
  1. // Copyright 2017 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_H_
  5. #define SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_H_
  6. #include "mojo/public/cpp/bindings/pending_receiver.h"
  7. #include "services/shape_detection/public/mojom/textdetection.mojom.h"
  8. namespace shape_detection {
  9. class TextDetectionImpl {
  10. public:
  11. // Binds TextDetection receiver to an implementation of mojom::TextDetection.
  12. static void Create(mojo::PendingReceiver<mojom::TextDetection> receiver);
  13. TextDetectionImpl(const TextDetectionImpl&) = delete;
  14. TextDetectionImpl& operator=(const TextDetectionImpl&) = delete;
  15. private:
  16. ~TextDetectionImpl() = default;
  17. };
  18. } // namespace shape_detection
  19. #endif // SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_H_