| OLD | NEW |
| (Empty) | |
| 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 |
| 5 #ifndef SERVICES_SHAPE_DETECTION_FACE_DETECTION_PROVIDER_IMPL_H_ |
| 6 #define SERVICES_SHAPE_DETECTION_FACE_DETECTION_PROVIDER_IMPL_H_ |
| 7 |
| 8 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 9 #include "services/shape_detection/public/interfaces/facedetection_provider.mojo
m.h" |
| 10 |
| 11 namespace shape_detection { |
| 12 |
| 13 class FaceDetectionProviderImpl |
| 14 : public shape_detection::mojom::FaceDetectionProvider { |
| 15 public: |
| 16 ~FaceDetectionProviderImpl() override = default; |
| 17 |
| 18 static void Create( |
| 19 shape_detection::mojom::FaceDetectionProviderRequest request) { |
| 20 mojo::MakeStrongBinding(base::MakeUnique<FaceDetectionProviderImpl>(), |
| 21 std::move(request)); |
| 22 } |
| 23 |
| 24 void CreateFaceDetection( |
| 25 shape_detection::mojom::FaceDetectionRequest request, |
| 26 shape_detection::mojom::FaceDetectorOptionsPtr options) override; |
| 27 }; |
| 28 |
| 29 } // namespace shape_detection |
| 30 |
| 31 #endif // SERVICES_SHAPE_DETECTION_FACE_DETECTION_PROVIDER_IMPL_H_ |
| OLD | NEW |