• Nancy Wang's avatar
    Reland "Remove the app related full restore data when the app is removed." · a63540fa
    Nancy Wang authored
    This reverts commit eb018628.
    
    Reason for revert: <INSERT REASONING HERE>
    The reason for https://bugs.chromium.org/p/chromium/issues/detail?id=1164559 is not because of this CL, but CL:2606404.
    
    So I reland this CL, and will submit a CL to disable those unit tests, then fix them.
    
    Original change's description:
    > Revert "Remove the app related full restore data when the app is removed."
    >
    > This reverts commit 50bc0376.
    >
    > Reason for revert: https://bugs.chromium.org/p/chromium/issues/detail?id=1164559
    >
    > Original change's description:
    > > Remove the app related full restore data when the app is removed.
    > >
    > > Add the class FullRestoreDataHandler to observe AppRegistryCache. When
    > > the app is removed, remove the full restore data from both
    > > FullRestoreReadHandler and FullRestoreSaveHandler.
    > >
    > > BUG=1146900
    > >
    > > Change-Id: Ie55b6310e3e302ac4829b7c76c10880928266651
    > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2608045
    > > Commit-Queue: Nancy Wang <nancylingwang@chromium.org>
    > > Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
    > > Reviewed-by: Dominick Ng <dominickn@chromium.org>
    > > Cr-Commit-Position: refs/heads/master@{#841611}
    >
    > TBR=xiyuan@chromium.org,dominickn@chromium.org,chromium-scoped@luci-project-accounts.iam.gserviceaccount.com,nancylingwang@chromium.org
    >
    > Change-Id: Ib46d03a047b6c8145805ed2ba40e5c48c12d5d17
    > No-Presubmit: true
    > No-Tree-Checks: true
    > No-Try: true
    > Bug: 1146900
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2618763
    > Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
    > Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#841721}
    
    TBR=xiyuan@chromium.org,dalecurtis@chromium.org,dominickn@chromium.org,chromium-scoped@luci-project-accounts.iam.gserviceaccount.com,nancylingwang@chromium.org
    
    # Not skipping CQ checks because this is a reland.
    
    Bug: 1146900
    Change-Id: I1a58775fd9bd5e31062e6b43adf79a2e5cb19a7a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2619403Reviewed-by: default avatarNancy Wang <nancylingwang@chromium.org>
    Commit-Queue: Nancy Wang <nancylingwang@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#841834}
    a63540fa
BUILD.gn 199 KB