| Index: services/shape_detection/face_detection_provider_impl.h
|
| diff --git a/services/shape_detection/face_detection_provider_impl.h b/services/shape_detection/face_detection_provider_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a2b869092ccb4eab41b05252bbb9383b4d245dd5
|
| --- /dev/null
|
| +++ b/services/shape_detection/face_detection_provider_impl.h
|
| @@ -0,0 +1,31 @@
|
| +// 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_FACE_DETECTION_PROVIDER_IMPL_H_
|
| +#define SERVICES_SHAPE_DETECTION_FACE_DETECTION_PROVIDER_IMPL_H_
|
| +
|
| +#include "mojo/public/cpp/bindings/strong_binding.h"
|
| +#include "services/shape_detection/public/interfaces/facedetection_provider.mojom.h"
|
| +
|
| +namespace shape_detection {
|
| +
|
| +class FaceDetectionProviderImpl
|
| + : public shape_detection::mojom::FaceDetectionProvider {
|
| + public:
|
| + ~FaceDetectionProviderImpl() override = default;
|
| +
|
| + static void Create(
|
| + shape_detection::mojom::FaceDetectionProviderRequest request) {
|
| + mojo::MakeStrongBinding(base::MakeUnique<FaceDetectionProviderImpl>(),
|
| + std::move(request));
|
| + }
|
| +
|
| + void CreateFaceDetection(
|
| + shape_detection::mojom::FaceDetectionRequest request,
|
| + shape_detection::mojom::FaceDetectorOptionsPtr options) override;
|
| +};
|
| +
|
| +} // namespace shape_detection
|
| +
|
| +#endif // SERVICES_SHAPE_DETECTION_FACE_DETECTION_PROVIDER_IMPL_H_
|
|
|