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

Issue 2542483002: Add paused download into SharedPreferences (Closed)

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

Description

Add paused download into SharedPreferences When download is manually paused, currently it is not stored in SharedPreferences. This is reasonable if download can only be resumed from the notification. However, with download home, resuming a paused download will require Chrome to know the notification Id. This CL stores the paused download into SharedPreferences. So that the notification Id can be retrieved when resuming a download from download Home. BUG=669702 Committed: https://crrev.com/927312747a47d9aef1b08217f590c6b83c13e174 Cr-Commit-Position: refs/heads/master@{#435266}

Patch Set 1 #

Total comments: 6

Patch Set 2 : addressing comments #

Messages

Total messages: 15 (7 generated)
qinmin
PTAL
4 years ago (2016-11-29 23:31:55 UTC) #2
gone
lgtm https://codereview.chromium.org/2542483002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java File chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java (right): https://codereview.chromium.org/2542483002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java#newcode161 chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java:161: allowMeteredConnection = true; can this just be shortened ...
4 years ago (2016-11-29 23:58:37 UTC) #3
qinmin
https://codereview.chromium.org/2542483002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java File chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java (right): https://codereview.chromium.org/2542483002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java#newcode161 chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java:161: allowMeteredConnection = true; On 2016/11/29 23:58:37, dfalcantara (check my ...
4 years ago (2016-11-30 00:44:48 UTC) #4
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/2542483002/20001
4 years ago (2016-11-30 00:45:54 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: blimp_linux_dbg on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) cast_shell_linux on ...
4 years ago (2016-11-30 02:47:42 UTC) #9
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/2542483002/20001
4 years ago (2016-11-30 15:28:19 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-30 15:36:09 UTC) #13
commit-bot: I haz the power
4 years ago (2016-11-30 15:38:19 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/927312747a47d9aef1b08217f590c6b83c13e174
Cr-Commit-Position: refs/heads/master@{#435266}

Powered by Google App Engine
This is Rietveld 408576698