[SessionStorageS13N] Observer support for clearing site data
This uses the (previously unused by SessionStorage) StorageArea's observer interface to notify the renderer when session storage is cleared by the browser. This change * Updates the service to notify observers in this way * Adds tests in the service (& cleans up old observer usage) * Modifies WebStorageNamespace to include a WebString namespace getter. This lets the IsSameNamespace comparision to not cause undefined behavior when comparing different subclasses of WebStorageNamespace. R=mek@chromium.org Bug: 856120 Change-Id: I97e2d7a8f7a2b660143bf37bcbd04f5a3985bce2 Reviewed-on: https://chromium-review.googlesource.com/1114300Reviewed-by:Marijn Kruisselbrink <mek@chromium.org> Reviewed-by:
Philip Rogers <pdr@chromium.org> Commit-Queue: Daniel Murphy <dmurph@chromium.org> Cr-Commit-Position: refs/heads/master@{#570568}
Showing
Please register or sign in to comment