| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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 "third_party/WebKit/public/platform/modules/shapedetection/facedetectio
n_provider.mojom.h" |
| 10 |
| 11 namespace shape_detection { |
| 12 |
| 13 class FaceDetectionProviderImpl : public blink::mojom::FaceDetectionProvider { |
| 14 public: |
| 15 static void Create(blink::mojom::FaceDetectionProviderRequest request) { |
| 16 mojo::MakeStrongBinding(base::MakeUnique<FaceDetectionProviderImpl>(), |
| 17 std::move(request)); |
| 18 } |
| 19 |
| 20 void CreateFaceDetection( |
| 21 blink::mojom::FaceDetectionRequest request, |
| 22 blink::mojom::FaceDetectorOptionsPtr options) override; |
| 23 }; |
| 24 |
| 25 } // namespace shape_detection |
| 26 |
| 27 #endif // SERVICES_SHAPE_DETECTION_FACE_DETECTION_PROVIDER_IMPL_H_ |
| OLD | NEW |