Use wildcard matching algorithm for URL matching in previews
Currently, in previews, we match the document URL with the the provided hints using substring matching. This CL changes the matching algorithm to a wildcard matcher instead of substring matcher. Change-Id: I3cf827d094ee5e15a64737d9691743b29d4c0bf3 Bug: 870039 Reviewed-on: https://chromium-review.googlesource.com/1176594Reviewed-by:Ryan Sturm <ryansturm@chromium.org> Commit-Queue: Tarun Bansal <tbansal@chromium.org> Cr-Commit-Position: refs/heads/master@{#584083}
Showing
Please register or sign in to comment