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

Unified Diff: chrome/browser/android/download/chrome_duplicate_download_infobar_delegate.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/download/chrome_duplicate_download_infobar_delegate.cc
diff --git a/chrome/browser/android/download/chrome_duplicate_download_infobar_delegate.cc b/chrome/browser/android/download/chrome_duplicate_download_infobar_delegate.cc
index 4c468d902875ab486d1842874523375889c01e58..d6863b4a46df11ffc361005db61c81a1c9dc2a4c 100644
--- a/chrome/browser/android/download/chrome_duplicate_download_infobar_delegate.cc
+++ b/chrome/browser/android/download/chrome_duplicate_download_infobar_delegate.cc
@@ -114,5 +114,10 @@ bool ChromeDuplicateDownloadInfoBarDelegate::IsOffTheRecord() const {
return is_off_the_record_;
}
+std::string ChromeDuplicateDownloadInfoBarDelegate::GetDownloadGuid() const {
+ DCHECK(download_item_);
qinmin 2017/03/09 08:32:57 I am wondering whether you really need to do this
shaktisahu 2017/03/10 02:39:59 I see. The GUID is of the new created item whereas
+ return download_item_->GetGuid();
+}
+
} // namespace android
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698