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

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

Issue 2515713002: Move fetching new suggestions for all categories to the SuggestionsSource. (Closed)
Patch Set: x Created 4 years, 1 month 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/ntp/cards/ActionItem.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/ChromeBackgroundService.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeBackgroundService.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeBackgroundService.java
index ed6ca84ecc83b04f7a240240f17375735b55ea85..abfd5f1d1e19bc754c6e871b26cf0ca0f569f670 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeBackgroundService.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeBackgroundService.java
@@ -116,8 +116,7 @@ public class ChromeBackgroundService extends GcmTaskService {
@VisibleForTesting
protected void fetchSnippets() {
- // Do not force regular background fetches.
- SnippetsBridge.fetchSnippets(/*forceRequest=*/false);
+ SnippetsBridge.fetchRemoteSuggestionsFromBackground();
}
@VisibleForTesting
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/ActionItem.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698