Chromium Code Reviews
DescriptionChange 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)
|
||||||||||||||||||||||||||||||||||||||||||||||