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

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: bauerb@ comments. 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 731af04e561e396d81a0a861dcb8da675f3467ca..dbe8f63b753335dbc115786580361c03a70edf96 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
@@ -238,8 +238,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