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

Issue 2952023002: Change WebApk app-id prefix from 'webapk:' to 'webapk-' (Closed)

Created:
3 years, 6 months ago by Yaron
Modified:
3 years, 5 months ago
Reviewers:
dominickn, pkotwicz, gone
CC:
chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Change WebApk app-id prefix from 'webapk:' to 'webapk-' This fixes some code which uses the host of a WebApp for various processing. Specifically, when examining history state (https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDirectoryManager.java?type=cs&q=liveWebapps.add+package:%5Echromium$&l=111) this would fail because 'webapk:' becomes the host name. This also makes WebApk id's consistent with traditional A2HS ids. Finally, this includes a change to the cleanup routine run on WebApps to age out the old entries. We will lose install source as part of this but it's just metrics book-keeping for us and doesn't affect users. BUG=735060, 735722 Review-Url: https://codereview.chromium.org/2952023002 Cr-Commit-Position: refs/heads/master@{#482267} Committed: https://chromium.googlesource.com/chromium/src/+/5ff213a88961f80fab0e21a871b62eb4336f3cb0

Patch Set 1 #

Patch Set 2 : fix test #

Messages

Total messages: 21 (11 generated)
Yaron
Thoughts? As discussed on the bug, there's nothing too sensitive about losing the shared prefs ...
3 years, 6 months ago (2017-06-21 20:40:45 UTC) #7
dominickn
On 2017/06/21 20:40:45, Yaron wrote: > Thoughts? > As discussed on the bug, there's nothing ...
3 years, 6 months ago (2017-06-22 00:50:02 UTC) #8
Yaron
On 2017/06/22 00:50:02, dominickn wrote: > On 2017/06/21 20:40:45, Yaron wrote: > > Thoughts? > ...
3 years, 6 months ago (2017-06-22 14:15:34 UTC) #9
Yaron
On 2017/06/22 14:15:34, Yaron wrote: > On 2017/06/22 00:50:02, dominickn wrote: > > On 2017/06/21 ...
3 years, 6 months ago (2017-06-22 14:15:53 UTC) #10
Yaron
Still need a review on this - +Dan for webapp changes, Peter for webapk
3 years, 6 months ago (2017-06-23 13:52:33 UTC) #13
gone
Not actually seeing anything that affects regular webapps. Dominick's the right reviewer for this now, ...
3 years, 6 months ago (2017-06-23 16:59:08 UTC) #14
pkotwicz
LGTM!
3 years, 6 months ago (2017-06-23 17:35:02 UTC) #15
dominickn
Sorry, didn't realise this was ready for a proper review! lgtm, thanks
3 years, 6 months ago (2017-06-26 00:21:44 UTC) #16
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/2952023002/20001
3 years, 5 months ago (2017-06-26 13:32:27 UTC) #18
commit-bot: I haz the power
3 years, 5 months ago (2017-06-26 14:21:46 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5ff213a88961f80fab0e21a871b6...

Powered by Google App Engine
This is Rietveld 408576698