• sczs's avatar
    [ios] Adds Discover Feed on/off support for refactored NTP. · ecb8fb27
    sczs authored
    - If the Discover Feed is OFF then the non refactored version (which
    uses ContentSuggestionsVC as the main NTP VC) will be used, for this
    container VC is created on NTPCoordinator which is returned to BVC.
    The contained VC will change (between NTPVC and ContentSuggestionsVC)
    depending on the Feed being ON or OFF.
    - Adds an extra check on most IsRefactoredNTP calls, so the refactored
    NTP is only used when the Discover Feed is on.
    - Moves the NTPHomeMediator creation to NTPCoordinator.
    
    Bug: 1114792
    Change-Id: I64b82462825da7bd66f1004e89f55c64313f1dbb
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2625508
    Commit-Queue: Sergio Collazos <sczs@chromium.org>
    Reviewed-by: default avatarAdam Trudeau-Arcaro <adamta@google.com>
    Cr-Commit-Position: refs/heads/master@{#843197}
    ecb8fb27
BUILD.gn 8.13 KB