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

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

Issue 2653223003: Revert of Shape Detection: Implement FaceDetection on Mac as out-of-process service (Closed)
Patch Set: Created 3 years, 11 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_SHAPE_DETECTION_SERVICE_H_
6 #define SERVICES_SHAPE_DETECTION_SHAPE_DETECTION_SERVICE_H_
7
8 #include <memory>
9
10 #include "base/callback.h"
11 #include "base/macros.h"
12 #include "services/service_manager/public/cpp/service.h"
13 #include "services/service_manager/public/cpp/service_context_ref.h"
14
15 namespace shape_detection {
16
17 class ShapeDetectionService : public service_manager::Service {
18 public:
19 // Factory function for use as an embedded service.
20 static std::unique_ptr<service_manager::Service> Create();
21
22 ShapeDetectionService();
23 ~ShapeDetectionService() override;
24
25 void OnStart() override;
26 bool OnConnect(const service_manager::ServiceInfo& remote_info,
27 service_manager::InterfaceRegistry* registry) override;
28 bool OnStop() override;
29
30 private:
31 std::unique_ptr<service_manager::ServiceContextRefFactory> ref_factory_;
32
33 DISALLOW_COPY_AND_ASSIGN(ShapeDetectionService);
34 };
35
36 } // namespace shape_detection
37
38 #endif // SERVICES_SHAPE_DETECTION_SHAPE_DETECTION_SERVICE_H_
OLDNEW
« no previous file with comments | « services/shape_detection/public/interfaces/constants.mojom ('k') | services/shape_detection/shape_detection_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698