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

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

Issue 2564163003: ShapeDetection: Add ShapeDetectionProvider (Closed)
Patch Set: Name change: mockFaceDetectionProviderReady, rebase 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/FaceDetectionProviderFactory.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/FaceDetectionProviderFactory.java
similarity index 57%
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/FaceDetectionProviderFactory.java
index 683df5bccb5f28601c750b09fc4b5c5759662676..8ca1206c1f989b499e65573450129b31ff79b7c9 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/FaceDetectionProviderFactory.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.FaceDetectionProvider;
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 FaceDetectionProviderFactory implements InterfaceFactory<FaceDetectionProvider> {
+ public FaceDetectionProviderFactory(Context context) {}
@Override
- public FaceDetection createImpl() {
- return new FaceDetectionImpl();
+ public FaceDetectionProvider createImpl() {
+ return new FaceDetectionProviderImpl();
}
}

Powered by Google App Engine
This is Rietveld 408576698