Chromium Code Reviews| 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 CONTENT_BROWSER_SHAPEDETECTION_FACE_DETECTION_SERVICE_DISPATCHER_H_ | |
| 6 #define CONTENT_BROWSER_SHAPEDETECTION_FACE_DETECTION_SERVICE_DISPATCHER_H_ | |
| 7 | |
| 8 #include "content/common/content_export.h" | |
| 9 #include "services/shape_detection/public/interfaces/facedetection_provider.mojo m.h" | |
| 10 | |
| 11 namespace content { | |
| 12 | |
| 13 // Because the renderer cannot launch an out-of-process service on its own, we | |
| 14 // use |FaceDetectionServiceDispatcher| to forward requests to Service Manager, | |
| 15 // which then starts Face Detection Service in a utility process. | |
| 16 class CONTENT_EXPORT FaceDetectionServiceDispatcher { | |
|
jochen (gone - plz use gerrit)
2017/01/24 12:31:59
nit. use namespace FaceDetectionServiceDispatcher
| |
| 17 public: | |
| 18 FaceDetectionServiceDispatcher(); | |
| 19 ~FaceDetectionServiceDispatcher(); | |
| 20 | |
| 21 static void CreateMojoService( | |
| 22 shape_detection::mojom::FaceDetectionProviderRequest request); | |
| 23 }; | |
| 24 | |
| 25 } // namespace content | |
| 26 | |
| 27 #endif // CONTENT_BROWSER_SHAPEDETECTION_FACE_DETECTION_SERVICE_DISPATCHER_H_ | |
| OLD | NEW |