| Index: printing/android/java/src/org/chromium/printing/PrintingControllerFactory.java
|
| diff --git a/printing/android/java/src/org/chromium/printing/PrintingControllerFactory.java b/printing/android/java/src/org/chromium/printing/PrintingControllerFactory.java
|
| deleted file mode 100644
|
| index 78c67db5a5eab76c1341bc57f081ff677ce9971d..0000000000000000000000000000000000000000
|
| --- a/printing/android/java/src/org/chromium/printing/PrintingControllerFactory.java
|
| +++ /dev/null
|
| @@ -1,33 +0,0 @@
|
| -// Copyright 2013 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.printing;
|
| -
|
| -import org.chromium.base.ThreadUtils;
|
| -
|
| -import android.content.Context;
|
| -
|
| -public class PrintingControllerFactory {
|
| - /** The singleton instance for this class. */
|
| - private static PrintingController sInstance;
|
| -
|
| - private PrintingControllerFactory() {} // Static factory
|
| -
|
| - /**
|
| - * Creates a controller for handling printing with the framework.
|
| - *
|
| - * The controller is a singleton, since there can be only one printing action at any time.
|
| - *
|
| - * @param context The application context.
|
| - * @return The resulting PrintingController.
|
| - */
|
| - public static PrintingController getPrintingController(
|
| - Context context) {
|
| - ThreadUtils.assertOnUiThread();
|
| - if (sInstance == null) {
|
| - sInstance = new PrintingControllerImpl(context);
|
| - }
|
| - return sInstance;
|
| - }
|
| -}
|
|
|