[Extensions] Add URLPattern::CreateIntersection()
Add a URLPattern::CreateIntersection() method to return the intersection of two URLPatterns, if any. This can construct a new URLPattern in many cases. For instance, the intersection returned between http://*.google.com/* and *://google.com/maps is http://google.com/maps. This CL does not add any (non-test) usages of the new method. Bug: 867549 Change-Id: I590081fa6d57bcc88c831095b50d21e20e9ec049 Reviewed-on: https://chromium-review.googlesource.com/1150413Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#578669}
Showing
Please register or sign in to comment