| Index: chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java
|
| index 42d53279cf92073c4ce7cd443fb48e357cc6dc9e..8491d4c7915d8507749fec81a4431cf75896acd7 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java
|
| @@ -24,9 +24,9 @@ public class BackgroundSchedulerBridge {
|
| // not receive a callback.
|
| // TODO(dougarnett): consider adding policy check api to let caller
|
| // separately determine if not allowed by policy.
|
| - public static boolean startProcessing(
|
| + public static boolean startScheduledProcessing(
|
| DeviceConditions deviceConditions, Callback<Boolean> callback) {
|
| - return nativeStartProcessing(deviceConditions.isPowerConnected(),
|
| + return nativeStartScheduledProcessing(deviceConditions.isPowerConnected(),
|
| deviceConditions.getBatteryPercentage(), deviceConditions.getNetConnectionType(),
|
| callback);
|
| }
|
| @@ -59,6 +59,6 @@ public class BackgroundSchedulerBridge {
|
| }
|
|
|
| /** Instructs the native RequestCoordinator to start processing. */
|
| - private static native boolean nativeStartProcessing(boolean powerConnected,
|
| + private static native boolean nativeStartScheduledProcessing(boolean powerConnected,
|
| int batteryPercentage, int netConnectionType, Callback<Boolean> callback);
|
| }
|
|
|