Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Side by Side Diff: services/shape_detection/face_detection_provider_impl.h

Issue 2528743002: Shape Detection: Implement FaceDetection on Mac as out-of-process service (Closed)
Patch Set: avi@ comments, rebase Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698