[Extensions Cleanup] Use URLPattern method in externally connectable

Use URLPattern::MatchesEffectiveTld() in parsing
ExternallyConnectableInfo. Now that we canonicalize the URL for the
URLPattern, the behavior of these is the same and we can remove the
duplicate logic.

Bug: None
Change-Id: I3a84c0aca81284ecca4ce60f1beb0bdeff05a961
Reviewed-on: https://chromium-review.googlesource.com/935453
Reviewed-by: Karan Bhatia <karandeepb@chromium.org>
Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541005}
4 files changed