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

Issue 10828043: Wire up the deleteFileSystem operation. (Closed)

Created:
8 years, 4 months ago by nhiroki (google)
Modified:
8 years, 4 months ago
Reviewers:
kinuko, jamesr, tzik
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, kinuko+watch, jam, kinuko
Visibility:
Public.

Description

Wire up the deleteFileSystem operation. BUG=139366 TEST="Will be tested from WebKit inspector test" Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149707

Patch Set 1 #

Total comments: 4

Patch Set 2 : Modified CrosMountPointProvider too. #

Total comments: 19

Patch Set 3 : Replaced "typedef" by "using". #

Total comments: 10

Patch Set 4 : Clean up. #

Patch Set 5 : Passes callback directly. #

Total comments: 2

Patch Set 6 : Corrects wrong return value check. #

Total comments: 7

Patch Set 7 : Reverts wrong callback calling and refactors. #

Patch Set 8 : Refactoring. #

Total comments: 4

Patch Set 9 : Adds comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -64 lines) Patch
M content/browser/fileapi/fileapi_message_filter.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/fileapi/fileapi_message_filter.cc View 1 2 3 4 5 6 3 chunks +21 lines, -0 lines 0 comments Download
M content/common/fileapi/file_system_dispatcher.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/fileapi/file_system_dispatcher.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M content/common/fileapi/file_system_messages.h View 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
M webkit/chromeos/fileapi/cros_mount_point_provider.h View 1 2 3 4 5 6 7 3 chunks +14 lines, -9 lines 0 comments Download
M webkit/chromeos/fileapi/cros_mount_point_provider.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_context.h View 1 2 3 4 5 6 7 3 chunks +11 lines, -3 lines 0 comments Download
M webkit/fileapi/file_system_context.cc View 1 2 3 4 5 6 7 4 chunks +26 lines, -21 lines 0 comments Download
M webkit/fileapi/file_system_mount_point_provider.h View 1 2 3 4 5 6 7 2 chunks +9 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_quota_client.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -2 lines 0 comments Download
M webkit/fileapi/isolated_mount_point_provider.h View 1 2 3 4 5 6 7 2 chunks +13 lines, -8 lines 0 comments Download
M webkit/fileapi/isolated_mount_point_provider.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider.h View 1 2 3 4 5 6 7 3 chunks +8 lines, -3 lines 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider.cc View 1 2 3 4 5 6 7 8 5 chunks +26 lines, -10 lines 0 comments Download
M webkit/fileapi/test_mount_point_provider.h View 1 2 3 4 5 6 7 2 chunks +13 lines, -8 lines 0 comments Download
M webkit/fileapi/test_mount_point_provider.cc View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
nhiroki (google)
Hi, tzik Could you review this? Thanks, nhiroki
8 years, 4 months ago (2012-07-27 00:00:45 UTC) #1
tzik
Looks good, overall. I think we need to modify CrosMountPointProvider too. https://chromiumcodereview.appspot.com/10828043/diff/1/content/browser/fileapi/fileapi_message_filter.cc File content/browser/fileapi/fileapi_message_filter.cc (right): ...
8 years, 4 months ago (2012-07-27 17:53:47 UTC) #2
nhiroki (google)
Thank you for your review. http://codereview.chromium.org/10828043/diff/1/content/browser/fileapi/fileapi_message_filter.cc File content/browser/fileapi/fileapi_message_filter.cc (right): http://codereview.chromium.org/10828043/diff/1/content/browser/fileapi/fileapi_message_filter.cc#newcode665 content/browser/fileapi/fileapi_message_filter.cc:665: if (result == base::PLATFORM_FILE_OK) ...
8 years, 4 months ago (2012-07-27 18:36:19 UTC) #3
tzik
http://codereview.chromium.org/10828043/diff/6002/webkit/chromeos/fileapi/cros_mount_point_provider.cc File webkit/chromeos/fileapi/cros_mount_point_provider.cc (right): http://codereview.chromium.org/10828043/diff/6002/webkit/chromeos/fileapi/cros_mount_point_provider.cc#newcode146 webkit/chromeos/fileapi/cros_mount_point_provider.cc:146: NOTREACHED(); Could you invoke callback even after we reached ...
8 years, 4 months ago (2012-07-28 00:36:45 UTC) #4
nhiroki (google)
http://codereview.chromium.org/10828043/diff/6002/webkit/chromeos/fileapi/cros_mount_point_provider.cc File webkit/chromeos/fileapi/cros_mount_point_provider.cc (right): http://codereview.chromium.org/10828043/diff/6002/webkit/chromeos/fileapi/cros_mount_point_provider.cc#newcode146 webkit/chromeos/fileapi/cros_mount_point_provider.cc:146: NOTREACHED(); On 2012/07/28 00:36:46, tzik wrote: > Could you ...
8 years, 4 months ago (2012-07-28 02:01:55 UTC) #5
tzik
http://codereview.chromium.org/10828043/diff/6002/webkit/fileapi/file_system_context.h File webkit/fileapi/file_system_context.h (right): http://codereview.chromium.org/10828043/diff/6002/webkit/fileapi/file_system_context.h#newcode113 webkit/fileapi/file_system_context.h:113: DeleteFileSystemCallback; On 2012/07/28 02:01:56, nhiroki wrote: > I think ...
8 years, 4 months ago (2012-07-28 04:26:51 UTC) #6
nhiroki (google)
Sorry I submitted wrong patchset. Could you take another look? Thanks.
8 years, 4 months ago (2012-07-28 04:42:45 UTC) #7
tzik
LGTM Please ask OWNERS to review this CL before you commit it.
8 years, 4 months ago (2012-07-29 13:07:21 UTC) #8
nhiroki (google)
+kinuko@, +jamesr@ Hi, kinuko@ and jamesr@ Could you take a look for owner LGTM? - ...
8 years, 4 months ago (2012-07-30 12:10:14 UTC) #9
kinuko
http://codereview.chromium.org/10828043/diff/14002/webkit/fileapi/file_system_context.cc File webkit/fileapi/file_system_context.cc (right): http://codereview.chromium.org/10828043/diff/14002/webkit/fileapi/file_system_context.cc#newcode171 webkit/fileapi/file_system_context.cc:171: void FileSystemContext::DeleteFileSystem( This could be done in a separate ...
8 years, 4 months ago (2012-07-30 21:53:38 UTC) #10
nhiroki (google)
http://codereview.chromium.org/10828043/diff/14002/webkit/fileapi/file_system_context.cc File webkit/fileapi/file_system_context.cc (right): http://codereview.chromium.org/10828043/diff/14002/webkit/fileapi/file_system_context.cc#newcode171 webkit/fileapi/file_system_context.cc:171: void FileSystemContext::DeleteFileSystem( I see. I will cleanup in another ...
8 years, 4 months ago (2012-07-31 15:50:32 UTC) #11
kinuko
http://codereview.chromium.org/10828043/diff/14002/webkit/fileapi/sandbox_mount_point_provider.cc File webkit/fileapi/sandbox_mount_point_provider.cc (right): http://codereview.chromium.org/10828043/diff/14002/webkit/fileapi/sandbox_mount_point_provider.cc#newcode315 webkit/fileapi/sandbox_mount_point_provider.cc:315: callback.Run(*error); On 2012/07/31 15:50:32, nhiroki wrote: > I think ...
8 years, 4 months ago (2012-07-31 16:59:19 UTC) #12
nhiroki (google)
Thanks for your reviews. http://codereview.chromium.org/10828043/diff/14002/webkit/fileapi/sandbox_mount_point_provider.cc File webkit/fileapi/sandbox_mount_point_provider.cc (right): http://codereview.chromium.org/10828043/diff/14002/webkit/fileapi/sandbox_mount_point_provider.cc#newcode315 webkit/fileapi/sandbox_mount_point_provider.cc:315: callback.Run(*error); I'm really sorry I ...
8 years, 4 months ago (2012-07-31 17:17:12 UTC) #13
kinuko
http://codereview.chromium.org/10828043/diff/13038/webkit/fileapi/file_system_context.cc File webkit/fileapi/file_system_context.cc (right): http://codereview.chromium.org/10828043/diff/13038/webkit/fileapi/file_system_context.cc#newcode89 webkit/fileapi/file_system_context.cc:89: FileSystemContext::DeleteDataForOriginAndTypeOnFileThread( Since you changed the return code here I ...
8 years, 4 months ago (2012-07-31 20:10:29 UTC) #14
nhiroki (google)
http://codereview.chromium.org/10828043/diff/13038/webkit/fileapi/file_system_context.cc File webkit/fileapi/file_system_context.cc (right): http://codereview.chromium.org/10828043/diff/13038/webkit/fileapi/file_system_context.cc#newcode89 webkit/fileapi/file_system_context.cc:89: FileSystemContext::DeleteDataForOriginAndTypeOnFileThread( On 2012/07/31 20:10:30, kinuko wrote: > Since you ...
8 years, 4 months ago (2012-08-01 00:15:48 UTC) #15
kinuko
http://codereview.chromium.org/10828043/diff/17003/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): http://codereview.chromium.org/10828043/diff/17003/content/renderer/render_view_impl.cc#newcode3681 content/renderer/render_view_impl.cc:3681: callbacks->didSucceed(); hmm why is this changed? (I might be ...
8 years, 4 months ago (2012-08-01 05:52:03 UTC) #16
nhiroki (google)
http://codereview.chromium.org/10828043/diff/17003/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): http://codereview.chromium.org/10828043/diff/17003/content/renderer/render_view_impl.cc#newcode3681 content/renderer/render_view_impl.cc:3681: callbacks->didSucceed(); Oh... I didn't mean to change. I guess ...
8 years, 4 months ago (2012-08-01 20:37:45 UTC) #17
kinuko
http://codereview.chromium.org/10828043/diff/17003/webkit/fileapi/sandbox_mount_point_provider.cc File webkit/fileapi/sandbox_mount_point_provider.cc (right): http://codereview.chromium.org/10828043/diff/17003/webkit/fileapi/sandbox_mount_point_provider.cc#newcode474 webkit/fileapi/sandbox_mount_point_provider.cc:474: make_scoped_refptr(context)), On 2012/08/01 20:37:45, nhiroki wrote: > The second ...
8 years, 4 months ago (2012-08-01 20:48:45 UTC) #18
nhiroki (google)
http://codereview.chromium.org/10828043/diff/17003/webkit/fileapi/sandbox_mount_point_provider.cc File webkit/fileapi/sandbox_mount_point_provider.cc (right): http://codereview.chromium.org/10828043/diff/17003/webkit/fileapi/sandbox_mount_point_provider.cc#newcode474 webkit/fileapi/sandbox_mount_point_provider.cc:474: make_scoped_refptr(context)), All right. I changed it to pass unretained ...
8 years, 4 months ago (2012-08-01 22:35:43 UTC) #19
kinuko
lgtm thanks! http://codereview.chromium.org/10828043/diff/15005/webkit/fileapi/sandbox_mount_point_provider.cc File webkit/fileapi/sandbox_mount_point_provider.cc (right): http://codereview.chromium.org/10828043/diff/15005/webkit/fileapi/sandbox_mount_point_provider.cc#newcode464 webkit/fileapi/sandbox_mount_point_provider.cc:464: base::Bind(&SandboxMountPointProvider::DeleteOriginDataOnFileThread, nit: could you add a brief ...
8 years, 4 months ago (2012-08-02 00:38:35 UTC) #20
nhiroki (google)
http://codereview.chromium.org/10828043/diff/15005/webkit/fileapi/sandbox_mount_point_provider.cc File webkit/fileapi/sandbox_mount_point_provider.cc (right): http://codereview.chromium.org/10828043/diff/15005/webkit/fileapi/sandbox_mount_point_provider.cc#newcode464 webkit/fileapi/sandbox_mount_point_provider.cc:464: base::Bind(&SandboxMountPointProvider::DeleteOriginDataOnFileThread, On 2012/08/02 00:38:35, kinuko wrote: > nit: could ...
8 years, 4 months ago (2012-08-02 17:38:38 UTC) #21
nhiroki (google)
ping Hi, jamesr@. Could you take a look for owner LGTM? - content/renderer Thanks
8 years, 4 months ago (2012-08-02 17:51:59 UTC) #22
jamesr
content/renderer lgtm
8 years, 4 months ago (2012-08-02 19:57:33 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@google.com/10828043/6032
8 years, 4 months ago (2012-08-02 19:58:03 UTC) #24
nhiroki (google)
Thanks for your reviews!
8 years, 4 months ago (2012-08-02 19:59:10 UTC) #25
commit-bot: I haz the power
8 years, 4 months ago (2012-08-02 21:43:46 UTC) #26
Change committed as 149707

Powered by Google App Engine
This is Rietveld 408576698