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

Unified Diff: chrome/browser/android/ntp/ntp_snippets_bridge.cc

Issue 2737723002: Downloads : Last access time update for NTP, duplicate infobar and notifications (Closed)
Patch Set: Created 3 years, 9 months 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/browser/android/ntp/ntp_snippets_bridge.cc
diff --git a/chrome/browser/android/ntp/ntp_snippets_bridge.cc b/chrome/browser/android/ntp/ntp_snippets_bridge.cc
index b5d38e1962aae2b7c05a3f78e0eaa91ce0b3d886..e8e554cfd08dda415f0eba16973dfb4ec89d6a6c 100644
--- a/chrome/browser/android/ntp/ntp_snippets_bridge.cc
+++ b/chrome/browser/android/ntp/ntp_snippets_bridge.cc
@@ -71,6 +71,8 @@ ScopedJavaLocalRef<jobject> ToJavaSuggestionList(
if (suggestion.download_suggestion_extra()->is_download_asset) {
Java_SnippetsBridge_setAssetDownloadDataForSuggestion(
env, java_suggestion,
+ ConvertUTF8ToJavaString(
+ env, suggestion.download_suggestion_extra()->download_guid),
ConvertUTF8ToJavaString(env, suggestion.download_suggestion_extra()
->target_file_path.value()),
ConvertUTF8ToJavaString(

Powered by Google App Engine
This is Rietveld 408576698