[Android] Move queryIntentActivities() into ExternalNavigationHandler
As the start of unforking as much as possible of the //weblayer and //chrome implementations of the ExternalNavigationDelegate interface, this CL moves their common implementations of queryIntentActivities() into ExternalNavigationHandler.java itself. We leave the implementation in the test delegate used in ExternalNavigationHandlerTest (no longer overriding the public interface), as this is used by TestPackageManager in those tests to mock out this functionality. This test setup could likely be streamlined, but we will leave such restructuring of the ExternalNavigationHandler test for a followup phase after the dust has completely settled on the unforking of the two delegate implementations in order to separate concerns and avoid the risk of introducing significant noise by continually re-refactoring the test in different ways as the unforking proceeds. Bug: 1071390 Change-Id: Ibceedd3a952a721e2d6fa53f50c11d60d7bf6bd3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152448Reviewed-by:Michael Thiessen <mthiesse@chromium.org> Commit-Queue: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#759650}
Showing
Please register or sign in to comment