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

Issue 2880413002: Constrain ShortcutSource to valid values (Closed)

Created:
3 years, 7 months ago by pkotwicz
Modified:
3 years, 7 months ago
Reviewers:
Xi Han, Yaron
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

Constrain ShortcutSource to valid values When Chrome requests a WebAPK install, the WebAPK server uses the newest available "WebAPK template". This means that if an old Chrome version installs a WebAPK, it may have installed a WebAPK which sends ShortcutSource values that the Chrome version does not support This CL constrains the value of the ShortcutSource in the WebappLauncherActivity launch intent to a valid value. For instance, m58 Chrome does not know about ShortcutSource#EXTERNAL_INTENT but the user might install a WebAPK which sends source==ShortcutSource#EXTERNAL_INTENT to Chrome BUG=711147 Review-Url: https://codereview.chromium.org/2880413002 Cr-Commit-Position: refs/heads/master@{#472632} Committed: https://chromium.googlesource.com/chromium/src/+/257ccdb4fa9b6a50d24f0f736402874dab49a5d2

Patch Set 1 : Merge branch 'master' into webapk_source #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -1 line) Patch
M chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappInfo.java View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/webapps/WebApkInfoTest.java View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
pkotwicz
Xi can you please take a look?
3 years, 7 months ago (2017-05-15 18:36:45 UTC) #5
Xi Han
It is worthy mentioning in the bug description that it is possible particular for ShortcutSource.EXTERNAL_INTENT. ...
3 years, 7 months ago (2017-05-15 19:00:09 UTC) #6
pkotwicz
I have updated the comment. Yaron, for OWNERS
3 years, 7 months ago (2017-05-16 15:29:47 UTC) #9
Yaron
3 years, 7 months ago (2017-05-16 16:02:35 UTC) #10
pkotwicz
Yaron 🔔
3 years, 7 months ago (2017-05-17 21:56:26 UTC) #11
Yaron
On 2017/05/17 21:56:26, pkotwicz wrote: > Yaron 🔔 err, that empty message was supposed to ...
3 years, 7 months ago (2017-05-17 22:55:22 UTC) #12
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/2880413002/60001
3 years, 7 months ago (2017-05-18 01:37:24 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 03:27:38 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/257ccdb4fa9b6a50d24f0f736402...

Powered by Google App Engine
This is Rietveld 408576698