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

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

Issue 2564163003: ShapeDetection: Add ShapeDetectionProvider (Closed)
Patch Set: Created 4 years 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/ShapeDetectionProviderFactory.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/shapedetection/FaceDetectionFactory.java b/content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionProviderFactory.java
similarity index 56%
rename from content/public/android/java/src/org/chromium/content/browser/shapedetection/FaceDetectionFactory.java
rename to content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionProviderFactory.java
index 683df5bccb5f28601c750b09fc4b5c5759662676..ed360d42ff1dc8af9daadbc4ec6e6fdaf5658a8e 100644
--- a/content/public/android/java/src/org/chromium/content/browser/shapedetection/FaceDetectionFactory.java
+++ b/content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionProviderFactory.java
@@ -6,17 +6,17 @@ package org.chromium.content.browser.shapedetection;
import android.content.Context;
-import org.chromium.blink.mojom.FaceDetection;
+import org.chromium.blink.mojom.ShapeDetectionProvider;
import org.chromium.services.service_manager.InterfaceFactory;
/**
* A factory method for registry in InterfaceRegistrarImpl.java.
*/
-public class FaceDetectionFactory implements InterfaceFactory<FaceDetection> {
- public FaceDetectionFactory(Context context) {}
+public class ShapeDetectionProviderFactory implements InterfaceFactory<ShapeDetectionProvider> {
+ public ShapeDetectionProviderFactory(Context context) {}
@Override
- public FaceDetection createImpl() {
- return new FaceDetectionImpl();
+ public ShapeDetectionProvider createImpl() {
+ return new ShapeDetectionProviderImpl();
}
}

Powered by Google App Engine
This is Rietveld 408576698