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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundOfflinerTask.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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundOfflinerTask.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundOfflinerTask.java b/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundOfflinerTask.java
index 5fc9e8617eb78b24ae2b93d16b2d6e4004fa649a..fed38043cb9426ac4866b021bb3dc752180ae73d 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundOfflinerTask.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundOfflinerTask.java
@@ -81,8 +81,8 @@ public class BackgroundOfflinerTask {
// TODO(petewil): Nothing is holding the Wake Lock. We need some solution to
// keep hold of it. Options discussed so far are having a fresh set of functions
// to grab and release a countdown latch, or holding onto the wake lock ourselves,
- // or grabbing the wake lock and then starting chrome and running startProcessing
- // on the UI thread.
+ // or grabbing the wake lock and then starting chrome and running
+ // startScheduledProcessing on the UI thread.
// TODO(petewil): Decode the TriggerConditions from the bundle.
@@ -100,7 +100,7 @@ public class BackgroundOfflinerTask {
};
// Pass the activation on to the bridge to the C++ RequestCoordinator.
- if (!mBridge.startProcessing(deviceConditions, callback)) {
+ if (!mBridge.startScheduledProcessing(deviceConditions, callback)) {
// Processing not started currently. Let callback know.
callback.onResult(false);
}
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerBridge.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698