New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 689965 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Feature

Blocked on:
issue 689981



Sign in to add a comment

Use last_access_time to filter out outdated asset downloads.

Project Member Reported by vitaliii@chromium.org, Feb 8 2017

Issue description

In  issue 687888  we used only created_time for asset downloads and both created and last_access times for offline pages, because this data is not collected for asset downloads.

We should use last_access_times once it is provided.
 
Blockedon: 689981
Labels: zine-17-03-06
Status: Started (was: Assigned)
There is some progress in  issue 689981 , so I am starting working on this issue.
They do not update last_access_time when a download is opened through NTP. I will add this to  issue 689981  and wait.
Labels: zine-17-03-27
Project Member

Comment 5 by bugdroid1@chromium.org, Apr 4 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cdc707f2ed4d9fa302d5c81259ac67618d6c2b56

commit cdc707f2ed4d9fa302d5c81259ac67618d6c2b56
Author: vitaliii <vitaliii@chromium.org>
Date: Tue Apr 04 09:58:11 2017

[NTP::Downloads] Use last access time to filter old asset downloads.

Previously, last_access_time was not provided in DownloadItem. Now it
is, so in this CL we use it to filter out outdaded asset downloads (same
way as it was done for offline pages - either creation time or last
access time (if ever opened) is considered).

BUG= 689965 

Review-Url: https://codereview.chromium.org/2787303002
Cr-Commit-Position: refs/heads/master@{#461671}

[modify] https://crrev.com/cdc707f2ed4d9fa302d5c81259ac67618d6c2b56/chrome/browser/ntp_snippets/download_suggestions_provider.cc
[modify] https://crrev.com/cdc707f2ed4d9fa302d5c81259ac67618d6c2b56/chrome/browser/ntp_snippets/download_suggestions_provider_unittest.cc
[modify] https://crrev.com/cdc707f2ed4d9fa302d5c81259ac67618d6c2b56/content/public/test/fake_download_item.cc
[modify] https://crrev.com/cdc707f2ed4d9fa302d5c81259ac67618d6c2b56/content/public/test/fake_download_item.h

Labels: zine-17-04-03
Status: Fixed (was: Started)
They *do* update last_access_time when a download is opened through NTP.

Sign in to add a comment