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

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: Rebase Created 3 years, 10 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 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_
OLDNEW
« no previous file with comments | « services/shape_detection/face_detection_impl_mac.mm ('k') | services/shape_detection/face_detection_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698