Chromium Code Reviews| 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..37eb63b3763be8d128197de13fa58adca40c8574 |
| --- /dev/null |
| +++ b/content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionFactory.java |
| @@ -0,0 +1,23 @@ |
| +// 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> { |
| + static final String TAG = "ShapeDetectionFactory"; |
|
qinmin
2016/10/12 18:32:18
nit: unused variable, remove it
|
| + public ShapeDetectionFactory(Context context) {} |
| + |
| + @Override |
| + public ShapeDetection createImpl() { |
| + return new ShapeDetectionImpl(); |
| + } |
| +} |