Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1188)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java

Issue 2572503002: [OfflinePages] Renames StartProcessing to StartScheduledProcessing (Closed)
Patch Set: Fixed junit change Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698