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

Issue 674653 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Feature



Sign in to add a comment

[OfflinePages] If user Resume's a webpage download pick that request to run if not currently loading

Project Member Reported by dougarnett@chromium.org, Dec 15 2016

Issue description

When Resuming a WebPage download request (or SavePageRequest), if the Coordinator is not currently processing requests, it will start processing and will choose the request to try without consideration as to the request that the user just resumed so some other pending request may start next.

It would be more intuitive to the user that the request selected to Resume should have priority to run next.
 

Comment 1 by chili@chromium.org, Feb 7 2017

Labels: Hotlist-Fixit

Comment 2 by romax@chromium.org, Feb 25 2017

Cc: petewil@chromium.org
Owner: romax@chromium.org
Project Member

Comment 3 by bugdroid1@chromium.org, Mar 9 2017

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

commit 50952e8e2031ad1f9d59b4f9bcf0682dd08e6f1b
Author: romax <romax@chromium.org>
Date: Thu Mar 09 23:31:20 2017

[Offline Pages] Pick correct request when resuming.

Fixed the bug where if user resumes a webpage  download in notification,
the request queue would not honor the priority of the tapped request and
pick from all requests using normal logic.

BUG= 674653 

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

[modify] https://crrev.com/50952e8e2031ad1f9d59b4f9bcf0682dd08e6f1b/components/offline_pages/core/background/pick_request_task.cc
[modify] https://crrev.com/50952e8e2031ad1f9d59b4f9bcf0682dd08e6f1b/components/offline_pages/core/background/pick_request_task.h
[modify] https://crrev.com/50952e8e2031ad1f9d59b4f9bcf0682dd08e6f1b/components/offline_pages/core/background/pick_request_task_unittest.cc
[modify] https://crrev.com/50952e8e2031ad1f9d59b4f9bcf0682dd08e6f1b/components/offline_pages/core/background/request_coordinator.cc
[modify] https://crrev.com/50952e8e2031ad1f9d59b4f9bcf0682dd08e6f1b/components/offline_pages/core/background/request_coordinator.h
[modify] https://crrev.com/50952e8e2031ad1f9d59b4f9bcf0682dd08e6f1b/components/offline_pages/core/background/request_coordinator_unittest.cc
[modify] https://crrev.com/50952e8e2031ad1f9d59b4f9bcf0682dd08e6f1b/components/offline_pages/core/background/request_queue.cc
[modify] https://crrev.com/50952e8e2031ad1f9d59b4f9bcf0682dd08e6f1b/components/offline_pages/core/background/request_queue.h

Comment 4 by romax@chromium.org, Mar 9 2017

Status: Fixed (was: Assigned)
The patch has been landed, however there's still decision to be made: how are we going to prioritize the resumed page downloads?

Comment 5 by romax@chromium.org, Mar 30 2017

next step tracked in 705106

Sign in to add a comment