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

Unified Diff: chrome/browser/android/download/download_manager_service.h

Issue 2705283003: Added last_access_time to DownloadItem and History DB (Closed)
Patch Set: rebase origin/master Created 3 years, 10 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/download_manager_service.h
diff --git a/chrome/browser/android/download/download_manager_service.h b/chrome/browser/android/download/download_manager_service.h
index fbc7f8a4ac721302ebc71e120570ecd0629843f1..2104f1f87d9f578a132af65759ecf37bc668f29b 100644
--- a/chrome/browser/android/download/download_manager_service.h
+++ b/chrome/browser/android/download/download_manager_service.h
@@ -94,6 +94,12 @@ class DownloadManagerService : public AllDownloadItemNotifier::Observer,
const JavaParamRef<jobject>& obj,
bool is_off_the_record);
+ // Called to update the last access time associated with a download.
+ void UpdateLastAccessTime(JNIEnv* env,
+ const JavaParamRef<jobject>& obj,
+ const JavaParamRef<jstring>& jdownload_guid,
+ bool is_off_the_record);
+
// DownloadHistory::Observer methods.
void OnHistoryQueryComplete() override;

Powered by Google App Engine
This is Rietveld 408576698