Remove sessions from disk when they are discarded by the OS
Right now sessions data on disk are never deleted. Instead delete them whenever the app receives a signal that this session can no longer be brought back via "didDiscardSceneSessions" appdelegate. This is done by adding a new method to BrowsingDataCommands protocol and allowing the mainController to conform to it. Bug: 1114847 Change-Id: I767f75c996fa8554943c09f84c9c637851beee32 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2347248 Commit-Queue: Mohammad Refaat <mrefaat@chromium.org> Reviewed-by:edchin <edchin@chromium.org> Reviewed-by:
Mark Cogan <marq@chromium.org> Cr-Commit-Position: refs/heads/master@{#797908}
Showing
Please register or sign in to comment