| Index: content/public/android/java/src/org/chromium/content/browser/shapedetection/FaceDetectionProviderImpl.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/shapedetection/FaceDetectionProviderImpl.java b/content/public/android/java/src/org/chromium/content/browser/shapedetection/FaceDetectionProviderImpl.java
|
| deleted file mode 100644
|
| index 975ca3d2a9447d4af37a72c56bfd5d66a6a724a8..0000000000000000000000000000000000000000
|
| --- a/content/public/android/java/src/org/chromium/content/browser/shapedetection/FaceDetectionProviderImpl.java
|
| +++ /dev/null
|
| @@ -1,43 +0,0 @@
|
| -// 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.mojo.bindings.InterfaceRequest;
|
| -import org.chromium.mojo.system.MojoException;
|
| -import org.chromium.services.service_manager.InterfaceFactory;
|
| -import org.chromium.shape_detection.mojom.FaceDetection;
|
| -import org.chromium.shape_detection.mojom.FaceDetectionProvider;
|
| -import org.chromium.shape_detection.mojom.FaceDetectorOptions;
|
| -
|
| -/**
|
| - * Service provider to create FaceDetection services
|
| - */
|
| -public class FaceDetectionProviderImpl implements FaceDetectionProvider {
|
| - @Override
|
| - public void createFaceDetection(
|
| - InterfaceRequest<FaceDetection> request, FaceDetectorOptions options) {
|
| - FaceDetection.MANAGER.bind(new FaceDetectionImpl(options), request);
|
| - }
|
| -
|
| - @Override
|
| - public void close() {}
|
| -
|
| - @Override
|
| - public void onConnectionError(MojoException e) {}
|
| -
|
| - /**
|
| - * A factory class to register FaceDetectionProvider interface.
|
| - */
|
| - public static class Factory implements InterfaceFactory<FaceDetectionProvider> {
|
| - public Factory(Context context) {}
|
| -
|
| - @Override
|
| - public FaceDetectionProvider createImpl() {
|
| - return new FaceDetectionProviderImpl();
|
| - }
|
| - }
|
| -}
|
|
|