Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Issue 1900793003: Allow to clear session and local storage when not backed on disk (Closed)

Created:
4 years, 8 months ago by Julien Isorce Samsung
Modified:
4 years, 7 months ago
Reviewers:
michaeln, msramek
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow to clear session and local storage when not backed on disk This patch allow GetLocalStorageUsage and GetSessionStorageUsage to return non empty UsageInfo so that one can call DeleteLocalStorage and DeleteSessionStorage. Which both internally call DOMStorageContextImpl::NotifyAreaCleared to send DOMStorageMsg_Event IPC from browser process to renderer process. On receiver side DomStorageDispatcher calls blink::WebStorageEventDispatcher::dispatch to clear the cache from the LocalFrame. BUG=604745 R=michaeln@chromium.org, msramek@chromium.org Committed: https://crrev.com/8d07be600b13008d0fcbb1608eef835eadd171a0 Cr-Commit-Position: refs/heads/master@{#391886}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rebase, use range based loop and rename a function #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -2 lines) Patch
M content/browser/dom_storage/dom_storage_context_impl.cc View 1 2 2 chunks +24 lines, -2 lines 0 comments Download
M content/browser/dom_storage/dom_storage_namespace.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/dom_storage/dom_storage_namespace.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900793003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900793003/1
4 years, 7 months ago (2016-05-03 08:57:04 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-03 10:34:47 UTC) #5
msramek
As per our discussion in crbug.com/604745, and discussion in the email where you confirmed that ...
4 years, 7 months ago (2016-05-04 18:53:48 UTC) #7
michaeln
i have a couple small requests, otherwise this look ok by me https://codereview.chromium.org/1900793003/diff/1/content/browser/dom_storage/dom_storage_context_impl.cc File content/browser/dom_storage/dom_storage_context_impl.cc ...
4 years, 7 months ago (2016-05-05 00:38:24 UTC) #8
Julien Isorce Samsung
Thx Martin for the comments and thx Michael for the review. I addressed remarks and ...
4 years, 7 months ago (2016-05-05 11:05:04 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900793003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900793003/20001
4 years, 7 months ago (2016-05-05 11:06:33 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/1076) ios-simulator on ...
4 years, 7 months ago (2016-05-05 11:08:33 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900793003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900793003/40001
4 years, 7 months ago (2016-05-05 12:10:56 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-05 13:00:03 UTC) #18
michaeln
lgtm, thnx
4 years, 7 months ago (2016-05-05 19:40:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900793003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900793003/40001
4 years, 7 months ago (2016-05-05 20:01:35 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-05 20:06:44 UTC) #24
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 20:08:57 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8d07be600b13008d0fcbb1608eef835eadd171a0
Cr-Commit-Position: refs/heads/master@{#391886}

Powered by Google App Engine
This is Rietveld 408576698