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

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

Issue 2399593005: ShapeDetectionImpl: Android implementation of detectFace() (Closed)
Patch Set: Created 4 years, 2 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/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionFactory.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/ShapeDetectionFactory.java
new file mode 100644
index 0000000000000000000000000000000000000000..88c7ac73c79ea5fae633c94cbc98f59334bb03b0
--- /dev/null
+++ b/content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionFactory.java
@@ -0,0 +1,22 @@
+// Copyright 2016 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.
+
+package org.chromium.content.browser.shapedetection;
+
+import android.content.Context;
+
+import org.chromium.blink.mojom.ShapeDetection;
+import org.chromium.services.shell.InterfaceFactory;
+
+/**
+ * A factory method for registry in InterfaceRegistrarImpl.java.
+ */
+public class ShapeDetectionFactory implements InterfaceFactory<ShapeDetection> {
+ public ShapeDetectionFactory(Context context) {}
+
+ @Override
+ public ShapeDetection createImpl() {
+ return new ShapeDetectionImpl();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698