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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSection.java

Issue 2507793002: [NTP] Propagate OfflineId from C++ for Downloads. (Closed)
Patch Set: rebase. 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
Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSection.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSection.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSection.java
index b773e84a60b252eff9bc84e07a77489fa9905bc7..0103adc9dd0d9b1b1a3a399088b7bea340d95278 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSection.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSection.java
@@ -241,8 +241,7 @@ public class SuggestionsSection extends InnerNode {
}
private void updateSnippetOfflineAvailability(final SnippetArticle article) {
- // This method is not applicable for downloads and recent tabs, where the exact offline id
- // must specified.
+ // This method is not applicable to articles for which the exact offline id must specified.
assert !article.requiresExactOfflinePage();
if (!mOfflinePageBridge.isOfflinePageModelLoaded()) return;
// TabId is relevant only for recent tab offline pages, which we do not handle here, so we

Powered by Google App Engine
This is Rietveld 408576698