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

Issue 7839029: QuotaManager::DeleteOriginData now allows deletion of specific QuotaClients (Closed)

Created:
9 years, 3 months ago by Mike West
Modified:
8 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

QuotaManager::DeleteOriginData allows deletion of specific QuotaClients To enable a more fine-grained extension API that would allow removal of specific data types, this CL changes the QuotaClient::ID enum values to bitmasky flags, and adds a bitmask parameter to QuotaManager::DeleteOriginData and QuotaManager::DeleteHostData to filter the clients that are deleted for each origin. BUG=94334 TEST=test_shell_tests,unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121269

Patch Set 1 #

Total comments: 10

Patch Set 2 : Back from the dead! #

Total comments: 8

Patch Set 3 : QuotaManager tests. #

Total comments: 16

Patch Set 4 : Kinuko's feedback. #

Patch Set 5 : Rebasing onto ToT #

Patch Set 6 : Rebasing onto ToT. #

Patch Set 7 : Rebase to ToT. #

Total comments: 4

Patch Set 8 : Kinuko's feedback (modulo kMockStart) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+572 lines, -194 lines) Patch
M chrome/browser/browsing_data_remover.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data_remover.cc View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data_remover_unittest.cc View 1 2 3 4 10 chunks +124 lines, -102 lines 0 comments Download
M webkit/quota/mock_quota_manager.h View 1 2 3 4 chunks +20 lines, -6 lines 0 comments Download
M webkit/quota/mock_quota_manager.cc View 1 2 3 4 chunks +28 lines, -11 lines 0 comments Download
M webkit/quota/mock_quota_manager_unittest.cc View 1 2 5 chunks +79 lines, -39 lines 0 comments Download
M webkit/quota/mock_storage_client.h View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download
M webkit/quota/mock_storage_client.cc View 1 2 3 4 5 6 7 1 chunk +16 lines, -0 lines 0 comments Download
M webkit/quota/quota_client.h View 1 2 chunks +9 lines, -7 lines 0 comments Download
M webkit/quota/quota_manager.h View 1 2 3 2 chunks +12 lines, -2 lines 0 comments Download
M webkit/quota/quota_manager.cc View 1 2 3 11 chunks +29 lines, -11 lines 0 comments Download
M webkit/quota/quota_manager_unittest.cc View 1 2 3 4 5 6 7 10 chunks +227 lines, -15 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Mike West
Hi Kinuko and Michael! In the interests of providing a more fine-grained deletion mechanism to ...
9 years, 3 months ago (2011-09-07 14:43:18 UTC) #1
jochen (gone - plz use gerrit)
http://codereview.chromium.org/7839029/diff/1/chrome/browser/browsing_data_remover.cc File chrome/browser/browsing_data_remover.cc (right): http://codereview.chromium.org/7839029/diff/1/chrome/browser/browsing_data_remover.cc#newcode57 chrome/browser/browsing_data_remover.cc:57: int generateQuotaClientMask(int remove_mask) { On 2011/09/07 14:43:19, Mike West ...
9 years, 3 months ago (2011-09-12 11:23:00 UTC) #2
Mike West
Friendly ping on this, Kinuko/Michael. :) I'd appreciate some feedback from you to ensure that ...
9 years, 3 months ago (2011-09-23 11:27:30 UTC) #3
kinuko
Will take a look at it. What I'm not sure about this is whether we ...
9 years, 2 months ago (2011-09-26 04:42:25 UTC) #4
Mike West
On 2011/09/26 04:42:25, kinuko wrote: > Will take a look at it. What I'm not ...
9 years, 2 months ago (2011-09-26 06:49:44 UTC) #5
kinuko
On Mon, Sep 26, 2011 at 3:49 PM, <mkwst@chromium.org> wrote: > On 2011/09/26 04:42:25, kinuko ...
9 years, 2 months ago (2011-09-26 09:36:55 UTC) #6
Mike West
On 2011/09/26 09:36:55, kinuko wrote: > Right, and my another concern is if we want ...
9 years, 2 months ago (2011-09-26 09:41:26 UTC) #7
kinuko
cosmetic issues only; will take another look. http://codereview.chromium.org/7839029/diff/1/chrome/browser/browsing_data_remover.cc File chrome/browser/browsing_data_remover.cc (right): http://codereview.chromium.org/7839029/diff/1/chrome/browser/browsing_data_remover.cc#newcode57 chrome/browser/browsing_data_remover.cc:57: int generateQuotaClientMask(int ...
9 years, 2 months ago (2011-09-26 09:43:48 UTC) #8
Mike West
On 2011/09/26 09:43:48, kinuko wrote: > cosmetic issues only; will take another look. So, after ...
8 years, 11 months ago (2012-01-18 05:17:31 UTC) #9
michaeln
this looks good to me, but kinuko really should take a look http://codereview.chromium.org/7839029/diff/16001/webkit/quota/quota_manager.cc File webkit/quota/quota_manager.cc ...
8 years, 11 months ago (2012-01-18 23:07:48 UTC) #10
Mike West
Cool. Then I'll continue adding tests, and I look forward to hearing from Kinuko and ...
8 years, 11 months ago (2012-01-19 13:09:11 UTC) #11
jochen (gone - plz use gerrit)
browser data remover stuff lgtm
8 years, 11 months ago (2012-01-19 13:11:19 UTC) #12
kinuko
Looking good (if the tests to be added pass :)). http://codereview.chromium.org/7839029/diff/16001/webkit/quota/mock_quota_manager.cc File webkit/quota/mock_quota_manager.cc (right): http://codereview.chromium.org/7839029/diff/16001/webkit/quota/mock_quota_manager.cc#newcode111 ...
8 years, 11 months ago (2012-01-19 13:53:11 UTC) #13
Mike West
Thanks Kinuko! I've added some tests for the QuotaManager. I also made some small changes ...
8 years, 11 months ago (2012-01-19 16:50:59 UTC) #14
kinuko
I haven't read all the new code yet but sending some comments earlier (before I ...
8 years, 11 months ago (2012-01-22 18:35:27 UTC) #15
Mike West
Thanks Kinuko! The only item I didn't address is your comment regarding `NextMockID()`. What would ...
8 years, 11 months ago (2012-01-22 20:54:37 UTC) #16
Mike West
By the way, don't stress about this CL. It doesn't need to be in for ...
8 years, 11 months ago (2012-01-25 13:57:18 UTC) #17
Mike West
On 2012/01/25 13:57:18, Mike West (chromium) wrote: > By the way, don't stress about this ...
8 years, 10 months ago (2012-02-03 14:56:03 UTC) #18
kinuko
Sorry for my super late review, lgtm except for some nits. http://codereview.chromium.org/7839029/diff/54001/webkit/quota/mock_storage_client.cc File webkit/quota/mock_storage_client.cc (right): ...
8 years, 10 months ago (2012-02-09 14:43:33 UTC) #19
Mike West
On 2012/02/09 14:43:33, kinuko wrote: > Sorry for my super late review, lgtm except for ...
8 years, 10 months ago (2012-02-09 14:55:00 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/7839029/59002
8 years, 10 months ago (2012-02-09 18:15:28 UTC) #21
commit-bot: I haz the power
8 years, 10 months ago (2012-02-09 19:40:28 UTC) #22
Change committed as 121269

Powered by Google App Engine
This is Rietveld 408576698