Index: chrome/android/java/src/org/chromium/chrome/browser/offlinepages/interfaces/BackgroundSchedulerProcessor.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/interfaces/BackgroundSchedulerProcessor.java b/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/interfaces/BackgroundSchedulerProcessor.java |
deleted file mode 100644 |
index bf8d569946a6572e5f03a4f903993a1a52f53115..0000000000000000000000000000000000000000 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/interfaces/BackgroundSchedulerProcessor.java |
+++ /dev/null |
@@ -1,29 +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.chrome.browser.offlinepages.interfaces; |
- |
-import org.chromium.base.Callback; |
-import org.chromium.chrome.browser.offlinepages.DeviceConditions; |
- |
-/** |
- * Interface to allow mocking out the BackgroundSchedulerProcessor, which must call static |
- * methods in BackgroundSchedulerBridge. |
- */ |
-public interface BackgroundSchedulerProcessor { |
- /** |
- * Starts processing of one or more queued background requests. Returns whether processing was |
- * started and that caller should expect a callback (once processing has completed or |
- * terminated). If processing was already active or not able to process for some other reason, |
- * returns false and this calling instance will not receive a callback. |
- */ |
- boolean startScheduledProcessing(DeviceConditions deviceConditions, Callback<Boolean> callback); |
- |
- /** |
- * Stops processing background requests. |
- * @return Whether processing should be scheduled again at a later time, because there is more |
- * work. |
- */ |
- boolean stopScheduledProcessing(); |
-} |