123456789101112131415161718192021222324252627 |
- // Copyright 2017 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 SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_H_
- #define SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_H_
- #include "mojo/public/cpp/bindings/pending_receiver.h"
- #include "services/shape_detection/public/mojom/textdetection.mojom.h"
- namespace shape_detection {
- class TextDetectionImpl {
- public:
- // Binds TextDetection receiver to an implementation of mojom::TextDetection.
- static void Create(mojo::PendingReceiver<mojom::TextDetection> receiver);
- TextDetectionImpl(const TextDetectionImpl&) = delete;
- TextDetectionImpl& operator=(const TextDetectionImpl&) = delete;
- private:
- ~TextDetectionImpl() = default;
- };
- } // namespace shape_detection
- #endif // SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_H_
|