• Clark DuVall's avatar
    Add SplitCompatContentProvider and convert ChromeBrowserProvider · e969fd5e
    Clark DuVall authored
    This will also allow converting the remaining providers in //clank.
    Moving providers to the base module gives more time for the chrome split
    preload to work, see http://crrev.com/c/2577546 for more info.
    
    Note I removed the onCreate method from ChromeBrowserProvider, because
    it just calls ensureNativeSideInitialized(). Every method which uses
    native already calls canHandleContentProviderApiCall() which internally
    will call ensureNativeSideInitialized(), so it seems unnecessary to call
    from onCreate. This simplifies things a bit.
    
    Review from Patchset 1 on for better diffs, Patchset 1 just moves
    ChromeBrowserProvider.java to ChromeBrowserProviderImpl.java.
    
    Bug: 1150600
    Change-Id: I98134425b32173211293a4306f7e962934ed47c1
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2591879
    Commit-Queue: Clark DuVall <cduvall@chromium.org>
    Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#837129}
    e969fd5e
monochrome_public_bundle.AndroidManifest.expected 87.4 KB