• Peter Kotwicz's avatar
    Revert "Background task scheduler : Split code into public and internal" · 7c602a3c
    Peter Kotwicz authored
    This reverts commit f8a4ba13.
    
    Reason for revert:
    GN modifications broke components_background_task_scheduler_junit_tests
    
    Original change's description:
    > Background task scheduler : Split code into public and internal
    > 
    > This CL separates the public interfaces from the internal code of background
    > task scheduler's Java code.
    > 
    > 1 - The public classes/interfaces are left at top level components/background_task_scheduler
    >     while the implementation code is moved to internal/
    > 2 - Internal code is moved to a separate package as well.
    > 3 - The factory will be a separate target that depends on public and internal.
    > 4 - Some classes need to be referenced from both chrome/ and internal code,
    >   e.g. BackgroundTaskSchedulerFactory, Uma classes, SharedPref. To handle this,
    >   have two classes, e.g. BackgroundTaskSchedulerFactory and BackgroundTaskSchedulerFactoryInternal
    > 
    > We should probably move the NativeBackgroundTask as well to components/ which
    > will greatly help the dependent code to live in components/. Will think about it in a future CL.
    > 
    > Bug: 1045765
    > Change-Id: Idddb3ed33789a735e920f33b7c0f3cb40e5e844a
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2021857
    > Commit-Queue: Shakti Sahu <shaktisahu@chromium.org>
    > Reviewed-by: David Trainor <dtrainor@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#738560}
    
    TBR=nyquist@chromium.org,dtrainor@chromium.org,shaktisahu@chromium.org
    
    Change-Id: I33c04539e01afae186023e7e011842994d8589ec
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 1045765
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2040373Reviewed-by: default avatarPeter Kotwicz <pkotwicz@chromium.org>
    Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#738707}
    7c602a3c
BUILD.gn 129 KB