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

Issue 2364133002: Download WebAPK into a WebAPK-specifc directory, and delete all cached ones. (Closed)

Created:
4 years, 3 months ago by Xi Han
Modified:
4 years, 2 months ago
Reviewers:
dominickn, pkotwicz
CC:
chromium-reviews, F, Yaron
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Download WebAPK into WebAPK-specifc directory, and delete all cached APKs before downloading a new one. BUG=634208 Committed: https://crrev.com/3f0eca90e1ae6168837a85f01a644b729d326f67 Cr-Commit-Position: refs/heads/master@{#421439}

Patch Set 1 #

Total comments: 4

Patch Set 2 : pkotwicz@'s comments. #

Total comments: 14

Patch Set 3 : Nits. #

Total comments: 8

Patch Set 4 : dominickn@'s comments. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -8 lines) Patch
M chrome/browser/android/webapk/webapk_installer.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/android/webapk/webapk_installer.cc View 1 2 3 4 chunks +54 lines, -8 lines 2 comments Download

Messages

Total messages: 38 (19 generated)
Xi Han
Hi Peter, could you please take a look? Thanks!
4 years, 3 months ago (2016-09-23 18:12:20 UTC) #6
pkotwicz
As mentioned offline, it would be interesting to find out how much time does the ...
4 years, 3 months ago (2016-09-23 18:25:26 UTC) #7
Xi Han
On 2016/09/23 18:25:26, pkotwicz wrote: > As mentioned offline, it would be interesting to find ...
4 years, 3 months ago (2016-09-23 20:55:03 UTC) #8
Xi Han
On 2016/09/23 20:55:03, Xi Han wrote: > On 2016/09/23 18:25:26, pkotwicz wrote: > > As ...
4 years, 3 months ago (2016-09-23 20:55:16 UTC) #9
Xi Han
On 2016/09/23 20:55:03, Xi Han wrote: > On 2016/09/23 18:25:26, pkotwicz wrote: > > As ...
4 years, 3 months ago (2016-09-23 20:55:18 UTC) #10
pkotwicz
Wow! The deletion is faster than I expected https://codereview.chromium.org/2364133002/diff/60001/chrome/browser/android/webapk/webapk_installer.cc File chrome/browser/android/webapk/webapk_installer.cc (right): https://codereview.chromium.org/2364133002/diff/60001/chrome/browser/android/webapk/webapk_installer.cc#newcode61 chrome/browser/android/webapk/webapk_installer.cc:61: base::FILE_PERMISSION_WRITE_BY_OTHERS; ...
4 years, 3 months ago (2016-09-24 01:28:35 UTC) #11
Xi Han
Hi Peter, PTAL, thanks! https://codereview.chromium.org/2364133002/diff/60001/chrome/browser/android/webapk/webapk_installer.cc File chrome/browser/android/webapk/webapk_installer.cc (right): https://codereview.chromium.org/2364133002/diff/60001/chrome/browser/android/webapk/webapk_installer.cc#newcode61 chrome/browser/android/webapk/webapk_installer.cc:61: base::FILE_PERMISSION_WRITE_BY_OTHERS; On 2016/09/24 01:28:35, pkotwicz ...
4 years, 2 months ago (2016-09-26 17:17:11 UTC) #13
pkotwicz
LGTM with nits https://codereview.chromium.org/2364133002/diff/100001/chrome/browser/android/webapk/webapk_installer.cc File chrome/browser/android/webapk/webapk_installer.cc (right): https://codereview.chromium.org/2364133002/diff/100001/chrome/browser/android/webapk/webapk_installer.cc#newcode55 chrome/browser/android/webapk/webapk_installer.cc:55: const int KBasicPosixPermissions = base::FILE_PERMISSION_READ_BY_USER | ...
4 years, 2 months ago (2016-09-26 21:04:25 UTC) #15
pkotwicz
https://codereview.chromium.org/2364133002/diff/100001/chrome/browser/android/webapk/webapk_installer.h File chrome/browser/android/webapk/webapk_installer.h (right): https://codereview.chromium.org/2364133002/diff/100001/chrome/browser/android/webapk/webapk_installer.h#newcode152 chrome/browser/android/webapk/webapk_installer.h:152: // Called once the sub directory to store the ...
4 years, 2 months ago (2016-09-26 21:05:49 UTC) #17
Xi Han
Hi Dominick, could you please take a look? Thanks! https://codereview.chromium.org/2364133002/diff/100001/chrome/browser/android/webapk/webapk_installer.cc File chrome/browser/android/webapk/webapk_installer.cc (right): https://codereview.chromium.org/2364133002/diff/100001/chrome/browser/android/webapk/webapk_installer.cc#newcode55 chrome/browser/android/webapk/webapk_installer.cc:55: ...
4 years, 2 months ago (2016-09-26 22:22:17 UTC) #19
dominickn
https://codereview.chromium.org/2364133002/diff/120001/chrome/browser/android/webapk/webapk_installer.cc File chrome/browser/android/webapk/webapk_installer.cc (right): https://codereview.chromium.org/2364133002/diff/120001/chrome/browser/android/webapk/webapk_installer.cc#newcode56 chrome/browser/android/webapk/webapk_installer.cc:56: base::FILE_PERMISSION_WRITE_BY_USER | Why is WRITE_BY_USER in the world-readable list ...
4 years, 2 months ago (2016-09-27 03:16:25 UTC) #20
Xi Han
Hi Dominick, PTAL, thanks! https://codereview.chromium.org/2364133002/diff/120001/chrome/browser/android/webapk/webapk_installer.cc File chrome/browser/android/webapk/webapk_installer.cc (right): https://codereview.chromium.org/2364133002/diff/120001/chrome/browser/android/webapk/webapk_installer.cc#newcode56 chrome/browser/android/webapk/webapk_installer.cc:56: base::FILE_PERMISSION_WRITE_BY_USER | On 2016/09/27 03:16:24, ...
4 years, 2 months ago (2016-09-27 12:55:13 UTC) #21
dominickn
https://codereview.chromium.org/2364133002/diff/120001/chrome/browser/android/webapk/webapk_installer.h File chrome/browser/android/webapk/webapk_installer.h (right): https://codereview.chromium.org/2364133002/diff/120001/chrome/browser/android/webapk/webapk_installer.h#newcode41 chrome/browser/android/webapk/webapk_installer.h:41: enum TaskType { On 2016/09/27 12:55:13, Xi Han (OOO ...
4 years, 2 months ago (2016-09-28 00:56:28 UTC) #26
Xi Han
Hi Dominick, PTAL, thanks for the quick reply! https://codereview.chromium.org/2364133002/diff/120001/chrome/browser/android/webapk/webapk_installer.h File chrome/browser/android/webapk/webapk_installer.h (right): https://codereview.chromium.org/2364133002/diff/120001/chrome/browser/android/webapk/webapk_installer.h#newcode41 chrome/browser/android/webapk/webapk_installer.h:41: enum ...
4 years, 2 months ago (2016-09-28 01:54:25 UTC) #29
dominickn
lgtm % followup, thanks. :) https://codereview.chromium.org/2364133002/diff/180001/chrome/browser/android/webapk/webapk_installer.cc File chrome/browser/android/webapk/webapk_installer.cc (right): https://codereview.chromium.org/2364133002/diff/180001/chrome/browser/android/webapk/webapk_installer.cc#newcode162 chrome/browser/android/webapk/webapk_installer.cc:162: return base::FilePath(); Minor nit/question: ...
4 years, 2 months ago (2016-09-28 02:15:04 UTC) #30
Xi Han
https://codereview.chromium.org/2364133002/diff/180001/chrome/browser/android/webapk/webapk_installer.cc File chrome/browser/android/webapk/webapk_installer.cc (right): https://codereview.chromium.org/2364133002/diff/180001/chrome/browser/android/webapk/webapk_installer.cc#newcode162 chrome/browser/android/webapk/webapk_installer.cc:162: return base::FilePath(); On 2016/09/28 02:15:03, dominickn wrote: > Minor ...
4 years, 2 months ago (2016-09-28 02:47:55 UTC) #31
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/2364133002/180001
4 years, 2 months ago (2016-09-28 03:04:02 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:180001)
4 years, 2 months ago (2016-09-28 03:50:21 UTC) #36
commit-bot: I haz the power
4 years, 2 months ago (2016-09-28 03:52:49 UTC) #38
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3f0eca90e1ae6168837a85f01a644b729d326f67
Cr-Commit-Position: refs/heads/master@{#421439}

Powered by Google App Engine
This is Rietveld 408576698