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

Unified Diff: services/shape_detection/android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java

Issue 2861263002: Shape Detection: move Java Face detection classes to //services/shape_detection (Closed)
Patch Set: Created 3 years, 7 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: services/shape_detection/android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java
diff --git a/services/shape_detection/android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java b/services/shape_detection/android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java
index 6a62aa574d8cb4464d20407b083da3ad37a64cd8..6938cf30910408ce020286a4f06d01dd172c0cc0 100644
--- a/services/shape_detection/android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java
+++ b/services/shape_detection/android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java
@@ -11,6 +11,7 @@ import org.chromium.base.annotations.JNINamespace;
import org.chromium.mojo.system.impl.CoreImpl;
import org.chromium.services.service_manager.InterfaceRegistry;
import org.chromium.shape_detection.mojom.BarcodeDetection;
+import org.chromium.shape_detection.mojom.FaceDetectionProvider;
import org.chromium.shape_detection.mojom.TextDetection;
@JNINamespace("shape_detection")
@@ -23,6 +24,8 @@ class InterfaceRegistrar {
CoreImpl.getInstance().acquireNativeHandle(nativeHandle).toMessagePipeHandle());
registry.addInterface(
BarcodeDetection.MANAGER, new BarcodeDetectionImpl.Factory(applicationContext));
+ registry.addInterface(FaceDetectionProvider.MANAGER,
+ new FaceDetectionProviderImpl.Factory(applicationContext));
registry.addInterface(
TextDetection.MANAGER, new TextDetectionImpl.Factory(applicationContext));
}

Powered by Google App Engine
This is Rietveld 408576698