[Prototype] Delete Google service worker caches on Android signout

Desktop / Chromium - msramek [chromium.org] - 13 July 2017 21:48 EDT

Android Signin Manager already has the functionality to delete all data when a managed user signs out.

This CL reuses that functionality to delete service worker caches when any user signs out.

BUG=739982

Review-Url: https://codereview.chromium.org/2966763003 Cr-Commit-Position: refs/heads/master@{#486619}

0e575f6 [Prototype] Delete Google service worker caches on Android signout.
.../chrome/browser/signin/SigninManager.java | 10 ++-
.../android/signin/signin_manager_android.cc | 67 ++++++++++++---
.../android/signin/signin_manager_android.h | 14 ++++
.../signin/signin_manager_android_unittest.cc | 97 ++++++++++++++++++++++
chrome/test/BUILD.gn | 1 +
components/google/core/browser/google_util.cc | 26 ++++++
components/google/core/browser/google_util.h | 9 ++
7 files changed, 211 insertions(+), 13 deletions(-)

Upstream: git.chromium.org


  • Share