Avoid hanging deletion if SessionStorage doesn't call its callback

For unknown reasons, SessionStorage doesn't always finish its deletion.
Instead the callback is destroyed without being run. To avoid having
ClearBrowsingData wait infinitely add WrapCallbackWithDefaultInvokeIfNotRun.

Bug: 927474
Change-Id: Id1e7e5d8f37ff1fcbd2df1a6c92a6293ecbce4fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1601262
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Martin Šrámek <msramek@chromium.org>
Commit-Queue: Christian Dullweber <dullweber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#658057}
1 file changed