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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/shapedetection/FaceDetectionFactory.java

Issue 2522143002: ShapeDetection: split mojom into face and barcode interfaces (Closed)
Patch Set: Smart rebase to https://crrev.com/2527503003 (FaceDetectorOptions) Created 4 years, 1 month 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/public/android/java/src/org/chromium/content/browser/shapedetection/FaceDetectionFactory.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionFactory.java b/content/public/android/java/src/org/chromium/content/browser/shapedetection/FaceDetectionFactory.java
similarity index 61%
rename from content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionFactory.java
rename to content/public/android/java/src/org/chromium/content/browser/shapedetection/FaceDetectionFactory.java
index ef657a4531829e56a417eeb203fbe9eff23df3aa..683df5bccb5f28601c750b09fc4b5c5759662676 100644
--- a/content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionFactory.java
+++ b/content/public/android/java/src/org/chromium/content/browser/shapedetection/FaceDetectionFactory.java
@@ -6,17 +6,17 @@ package org.chromium.content.browser.shapedetection;
import android.content.Context;
-import org.chromium.blink.mojom.ShapeDetection;
+import org.chromium.blink.mojom.FaceDetection;
import org.chromium.services.service_manager.InterfaceFactory;
/**
* A factory method for registry in InterfaceRegistrarImpl.java.
*/
-public class ShapeDetectionFactory implements InterfaceFactory<ShapeDetection> {
- public ShapeDetectionFactory(Context context) {}
+public class FaceDetectionFactory implements InterfaceFactory<FaceDetection> {
+ public FaceDetectionFactory(Context context) {}
@Override
- public ShapeDetection createImpl() {
- return new ShapeDetectionImpl();
+ public FaceDetection createImpl() {
+ return new FaceDetectionImpl();
}
}

Powered by Google App Engine
This is Rietveld 408576698