DescriptionRemove code that implies external apps can open incognito tabs.
On Android, we restrict who can open incognito tabs to only
Chrome. The logic to enforce this was spread across
IntentHandler#shouldIgnoreIntent and
ChromeTabbedActivity#processUrlViewIntent. It was unclear and
confusing to read, so this removes the invalid paths and makes
it more explicit about what is allowed.
BUG=
Committed: https://crrev.com/1b2247e8e0a7277aa58ce4fcb242c7be2dafe564
Cr-Commit-Position: refs/heads/master@{#440918}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add package check #
Messages
Total messages: 14 (5 generated)
|