OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.content.browser.shapedetection; | 5 package org.chromium.content.browser.shapedetection; |
6 | 6 |
7 import android.content.Context; | 7 import android.content.Context; |
8 | 8 |
9 import org.chromium.blink.mojom.ShapeDetection; | 9 import org.chromium.blink.mojom.ShapeDetection; |
10 import org.chromium.services.shell.InterfaceFactory; | 10 import org.chromium.services.service_manager.InterfaceFactory; |
11 | 11 |
12 /** | 12 /** |
13 * A factory method for registry in InterfaceRegistrarImpl.java. | 13 * A factory method for registry in InterfaceRegistrarImpl.java. |
14 */ | 14 */ |
15 public class ShapeDetectionFactory implements InterfaceFactory<ShapeDetection> { | 15 public class ShapeDetectionFactory implements InterfaceFactory<ShapeDetection> { |
16 public ShapeDetectionFactory(Context context) {} | 16 public ShapeDetectionFactory(Context context) {} |
17 | 17 |
18 @Override | 18 @Override |
19 public ShapeDetection createImpl() { | 19 public ShapeDetection createImpl() { |
20 return new ShapeDetectionImpl(); | 20 return new ShapeDetectionImpl(); |
21 } | 21 } |
22 } | 22 } |
OLD | NEW |