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

Issue 2623373002: [Download Home] More correctly track paused state (Closed)

Created:
3 years, 11 months ago by gone
Modified:
3 years, 11 months ago
Reviewers:
Theresa, qinmin
CC:
chromium-reviews, asanka, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Download Home] More correctly track paused state The Download Home frontend shouldn't be directly talking to the Downloads backend because it's missing information about the downloads that are stored only on the Java side. Instead, consult the Java sort-of-backend-but-not-really shared preferences to know whether or not a download is actually paused or not. BUG=678099, 651408

Patch Set 1 #

Total comments: 2

Patch Set 2 : Shuffling logic around and fixing it #

Patch Set 3 : Move observer [de]registration #

Messages

Total messages: 21 (13 generated)
gone
Min for the backend, Theresa for the frontend.
3 years, 11 months ago (2017-01-12 01:21:20 UTC) #2
qinmin
https://codereview.chromium.org/2623373002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryItemWrapper.java File chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryItemWrapper.java (right): https://codereview.chromium.org/2623373002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryItemWrapper.java#newcode384 chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryItemWrapper.java:384: return mItem.getDownloadInfo().state() == DownloadState.IN_PROGRESS if the state is not ...
3 years, 11 months ago (2017-01-12 17:59:46 UTC) #3
gone
https://codereview.chromium.org/2623373002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryItemWrapper.java File chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryItemWrapper.java (right): https://codereview.chromium.org/2623373002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryItemWrapper.java#newcode384 chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryItemWrapper.java:384: return mItem.getDownloadInfo().state() == DownloadState.IN_PROGRESS On 2017/01/12 17:59:46, qinmin wrote: ...
3 years, 11 months ago (2017-01-12 19:55:36 UTC) #4
qinmin
lgtm
3 years, 11 months ago (2017-01-12 21:41:50 UTC) #7
Theresa
lgtm % failed test
3 years, 11 months ago (2017-01-12 22:19:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2623373002/40001
3 years, 11 months ago (2017-01-12 22:27:05 UTC) #16
commit-bot: I haz the power
Prior attempt to commit was detected, but we were not able to check whether the ...
3 years, 11 months ago (2017-01-13 01:16:57 UTC) #19
gone
3 years, 11 months ago (2017-01-13 01:19:20 UTC) #21
Message was sent while issue was closed.
Looks like it committed; manually marking Closed.

Powered by Google App Engine
This is Rietveld 408576698