| 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();
|
| + }
|
| +}
|
|
|