[SH iOS] Add component code for disabling per-site
This adds a helper function that platforms can use to determine if the current site's URL should prevent the Link to Text feature from being offered. This will be called in a follow-up by platform-specific code that enables/disables the option. For the time being, we expect the number of sites affected to be very small and will reevaluate if the list gets longer than ~a dozen. Eventually we'd like to make this more dynamic (possibly delivering the URLs and regexes from a server), but this version is meant to get a very quick spot fix out the door. Bug: 1157981 Change-Id: I1785459b298d93528415d8735aaa01c4d7a7769e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2587432Reviewed-by:Sebastien Lalancette <seblalancette@chromium.org> Reviewed-by:
Nico Weber <thakis@chromium.org> Commit-Queue: Tommy Martino <tmartino@chromium.org> Cr-Commit-Position: refs/heads/master@{#842655}
Showing
Please register or sign in to comment