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

Issue 7003021: Added DeleteOriginData to QuotaClient (Closed)

Created:
9 years, 7 months ago by tzik (google)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, kinuko+watch, darin-cc_chromium.org
Visibility:
Public.

Description

Added DeleteOriginData to QuotaClient BUG=61676 TEST=SandboxQuotaClientTest.DeleteOriginTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85588

Patch Set 1 #

Patch Set 2 : Added callback #

Total comments: 9

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : Added error report #

Total comments: 5

Patch Set 6 : Apply patch from issue 7013018 #

Total comments: 7

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 4

Patch Set 9 : '' #

Patch Set 10 : Add tests #

Total comments: 19

Patch Set 11 : '' #

Patch Set 12 : Rebased and linted #

Patch Set 13 : Rebased #

Total comments: 9

Patch Set 14 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -11 lines) Patch
M webkit/database/database_quota_client.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/database/database_quota_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +10 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_context.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M webkit/fileapi/file_system_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +13 lines, -3 lines 0 comments Download
M webkit/fileapi/sandbox_quota_client.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download
M webkit/fileapi/sandbox_quota_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +49 lines, -0 lines 0 comments Download
M webkit/fileapi/sandbox_quota_client_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +81 lines, -3 lines 0 comments Download
M webkit/quota/mock_storage_client.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +7 lines, -0 lines 0 comments Download
M webkit/quota/mock_storage_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +30 lines, -0 lines 0 comments Download
M webkit/quota/quota_client.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -1 line 0 comments Download
M webkit/quota/quota_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M webkit/quota/quota_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +53 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
tzik (google)
9 years, 7 months ago (2011-05-11 08:58:47 UTC) #1
Dai Mikurube (NOT FULLTIME)
Just some nit comments. http://codereview.chromium.org/7003021/diff/1008/webkit/fileapi/file_system_context.cc File webkit/fileapi/file_system_context.cc (right): http://codereview.chromium.org/7003021/diff/1008/webkit/fileapi/file_system_context.cc#newcode91 webkit/fileapi/file_system_context.cc:91: file_util::Delete(path_for_origin, true /* recursive */); ...
9 years, 7 months ago (2011-05-11 09:14:57 UTC) #2
tzik (google)
Thanks. http://codereview.chromium.org/7003021/diff/1008/webkit/fileapi/file_system_context.h File webkit/fileapi/file_system_context.h (right): http://codereview.chromium.org/7003021/diff/1008/webkit/fileapi/file_system_context.h#newcode11 webkit/fileapi/file_system_context.h:11: #include "webkit/fileapi/file_system_types.h" On 2011/05/11 09:14:57, Dai Mikurube wrote: ...
9 years, 7 months ago (2011-05-11 09:32:56 UTC) #3
kinuko
http://codereview.chromium.org/7003021/diff/1008/webkit/fileapi/file_system_context.cc File webkit/fileapi/file_system_context.cc (right): http://codereview.chromium.org/7003021/diff/1008/webkit/fileapi/file_system_context.cc#newcode91 webkit/fileapi/file_system_context.cc:91: file_util::Delete(path_for_origin, true /* recursive */); Sorry I hadn't read ...
9 years, 7 months ago (2011-05-11 09:38:14 UTC) #4
kinuko
http://codereview.chromium.org/7003021/diff/1008/webkit/fileapi/file_system_context.cc File webkit/fileapi/file_system_context.cc (right): http://codereview.chromium.org/7003021/diff/1008/webkit/fileapi/file_system_context.cc#newcode86 webkit/fileapi/file_system_context.cc:86: DCHECK(path_manager_.get()); This doesn't seem to be necessary. (Ditto in ...
9 years, 7 months ago (2011-05-11 09:45:56 UTC) #5
tzik (google)
http://codereview.chromium.org/7003021/diff/1008/webkit/fileapi/file_system_context.cc File webkit/fileapi/file_system_context.cc (right): http://codereview.chromium.org/7003021/diff/1008/webkit/fileapi/file_system_context.cc#newcode86 webkit/fileapi/file_system_context.cc:86: DCHECK(path_manager_.get()); On 2011/05/11 09:45:56, kinuko wrote: > This doesn't ...
9 years, 7 months ago (2011-05-11 11:32:25 UTC) #6
kinuko
a few cosmetic comments http://codereview.chromium.org/7003021/diff/6011/webkit/fileapi/sandbox_quota_client.cc File webkit/fileapi/sandbox_quota_client.cc (right): http://codereview.chromium.org/7003021/diff/6011/webkit/fileapi/sandbox_quota_client.cc#newcode303 webkit/fileapi/sandbox_quota_client.cc:303: origin_(origin), type_(type), nit: type_() in ...
9 years, 7 months ago (2011-05-11 12:18:49 UTC) #7
kinuko
http://codereview.chromium.org/7003021/diff/6011/webkit/fileapi/sandbox_quota_client.cc File webkit/fileapi/sandbox_quota_client.cc (right): http://codereview.chromium.org/7003021/diff/6011/webkit/fileapi/sandbox_quota_client.cc#newcode342 webkit/fileapi/sandbox_quota_client.cc:342: new DeleteOriginTask(this, file_message_loop_, Sorry, please forget what I said ...
9 years, 7 months ago (2011-05-12 05:54:15 UTC) #8
kinuko
(adding michael as it adds a mock impl to DB quota client) http://codereview.chromium.org/7003021/diff/9001/webkit/fileapi/file_system_context.cc File webkit/fileapi/file_system_context.cc ...
9 years, 7 months ago (2011-05-12 08:59:22 UTC) #9
kinuko
lgtm
9 years, 7 months ago (2011-05-12 10:46:54 UTC) #10
tzik (google)
http://codereview.chromium.org/7003021/diff/6011/webkit/fileapi/sandbox_quota_client.cc File webkit/fileapi/sandbox_quota_client.cc (right): http://codereview.chromium.org/7003021/diff/6011/webkit/fileapi/sandbox_quota_client.cc#newcode303 webkit/fileapi/sandbox_quota_client.cc:303: origin_(origin), type_(type), On 2011/05/11 12:18:49, kinuko wrote: > nit: ...
9 years, 7 months ago (2011-05-12 10:47:06 UTC) #11
kinuko
Sorry, please add tests... On 2011/05/12 10:47:06, tzik (google) wrote: > http://codereview.chromium.org/7003021/diff/6011/webkit/fileapi/sandbox_quota_client.cc > File webkit/fileapi/sandbox_quota_client.cc ...
9 years, 7 months ago (2011-05-12 10:52:13 UTC) #12
michaeln
> (adding michael as it adds a mock impl to DB quota client) ok... i'll ...
9 years, 7 months ago (2011-05-13 01:04:24 UTC) #13
tzik (google)
http://codereview.chromium.org/7003021/diff/8003/webkit/database/database_quota_client.cc File webkit/database/database_quota_client.cc (right): http://codereview.chromium.org/7003021/diff/8003/webkit/database/database_quota_client.cc#newcode220 webkit/database/database_quota_client.cc:220: DeletionCallback* callback) { On 2011/05/13 01:04:24, michaeln wrote: > ...
9 years, 7 months ago (2011-05-13 06:10:36 UTC) #14
kinuko
http://codereview.chromium.org/7003021/diff/11023/webkit/fileapi/sandbox_quota_client.cc File webkit/fileapi/sandbox_quota_client.cc (right): http://codereview.chromium.org/7003021/diff/11023/webkit/fileapi/sandbox_quota_client.cc#newcode313 webkit/fileapi/sandbox_quota_client.cc:313: DeleteDataForOriginAndTypeOnFileThread(origin_, type_)) style-nit: weird indentation file_system_context_-> DeleteDataFor... http://codereview.chromium.org/7003021/diff/11023/webkit/fileapi/sandbox_quota_client_unittest.cc File ...
9 years, 7 months ago (2011-05-13 07:26:00 UTC) #15
michaeln
lgtm (just some nits) if it lgt<kinuko> if the delete vs other callback semantics don't ...
9 years, 7 months ago (2011-05-13 07:28:02 UTC) #16
tzik (google)
http://codereview.chromium.org/7003021/diff/11023/webkit/fileapi/sandbox_quota_client.cc File webkit/fileapi/sandbox_quota_client.cc (right): http://codereview.chromium.org/7003021/diff/11023/webkit/fileapi/sandbox_quota_client.cc#newcode292 webkit/fileapi/sandbox_quota_client.cc:292: class SandboxQuotaClient::DeleteOriginTask On 2011/05/13 07:28:02, michaeln wrote: > probably ...
9 years, 7 months ago (2011-05-13 14:22:24 UTC) #17
kinuko
http://codereview.chromium.org/7003021/diff/20001/webkit/database/database_quota_client.cc File webkit/database/database_quota_client.cc (right): http://codereview.chromium.org/7003021/diff/20001/webkit/database/database_quota_client.cc#newcode5 webkit/database/database_quota_client.cc:5: #include <vector> style-nit: This must be after "webkit/database/database_quota_client.h" I ...
9 years, 7 months ago (2011-05-16 06:18:53 UTC) #18
tzik (google)
http://codereview.chromium.org/7003021/diff/20001/webkit/database/database_quota_client.cc File webkit/database/database_quota_client.cc (right): http://codereview.chromium.org/7003021/diff/20001/webkit/database/database_quota_client.cc#newcode5 webkit/database/database_quota_client.cc:5: #include <vector> On 2011/05/16 06:18:53, kinuko wrote: > style-nit: ...
9 years, 7 months ago (2011-05-16 07:47:01 UTC) #19
kinuko
9 years, 7 months ago (2011-05-16 07:50:18 UTC) #20
lgtm thanks!

Powered by Google App Engine
This is Rietveld 408576698