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

Unified Diff: content/browser/shapedetection/face_detection_service_dispatcher.h

Issue 2655303005: Shape detection service: Add QR detection in Mac (Closed)
Patch Set: Don't init explicitly a vector of vectors 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/shapedetection/face_detection_service_dispatcher.h
diff --git a/content/browser/shapedetection/face_detection_service_dispatcher.h b/content/browser/shapedetection/face_detection_service_dispatcher.h
deleted file mode 100644
index 8eb4824640310c2a7df72997824c88596ba64b0c..0000000000000000000000000000000000000000
--- a/content/browser/shapedetection/face_detection_service_dispatcher.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_SHAPEDETECTION_FACE_DETECTION_SERVICE_DISPATCHER_H_
-#define CONTENT_BROWSER_SHAPEDETECTION_FACE_DETECTION_SERVICE_DISPATCHER_H_
-
-#include "content/common/content_export.h"
-#include "content/public/common/service_manager_connection.h"
-#include "services/service_manager/public/cpp/connector.h"
-#include "services/shape_detection/public/interfaces/constants.mojom.h"
-#include "services/shape_detection/public/interfaces/facedetection_provider.mojom.h"
-
-namespace content {
-
-// Because the renderer cannot launch an out-of-process service on its own, we
-// use |FaceDetectionServiceDispatcher| to forward requests to Service Manager,
-// which then starts Face Detection Service in a utility process.
-namespace FaceDetectionServiceDispatcher {
-
-static void CreateMojoService(
- shape_detection::mojom::FaceDetectionProviderRequest request) {
- service_manager::Connector* connector =
- ServiceManagerConnection::GetForProcess()->GetConnector();
- connector->BindInterface(shape_detection::mojom::kServiceName,
- std::move(request));
-}
-
-} // namespace FaceDetectionServiceDispatcher
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_SHAPEDETECTION_FACE_DETECTION_SERVICE_DISPATCHER_H_

Powered by Google App Engine
This is Rietveld 408576698