Remove 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= Review-Url: https://codereview.chromium.org/2601183002 Cr-Commit-Position: refs/heads/master@{#440918}
Showing
Please register or sign in to comment