• Peter Wen's avatar
    Android: Create AutocompleteCoordinator interface · 51e04fde
    Peter Wen authored
    Convert AutocompleteCoordinator into an interface and move existing code
    into AutocompleteCoordinatorImpl. Isolate its creation to
    AutocompleteCoordinatorFactory.
    
    Move several inner interfaces out as top-level interfaces. This allows
    fewer intra-package imports, especially important for making the factory
    as simple as possible.
    
    Reduce visibility of test-only methods to package-private, and create
    AutocompleteCoordinatorTestUtils for test support to access these test-
    only methods.
    
    Bug: 961368
    Change-Id: I37e2f04e8fe1dd76fc754ee67d8ef504525d85ea
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1603093Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
    Commit-Queue: Peter Wen <wnwen@chromium.org>
    Auto-Submit: Peter Wen <wnwen@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#662229}
    51e04fde
BUILD.gn 8.04 KB