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

Issue 14796018: Cleanup: Deprecate FileSystemCallbackDispatcher (Closed)

Created:
7 years, 7 months ago by kinuko
Modified:
7 years, 7 months ago
Reviewers:
michaeln, yzshen1, tzik
CC:
chromium-reviews, joi+watch-content_chromium.org, tzik+watch_chromium.org, kinuko+watch, jam, darin-cc_chromium.org, ericu, victorhsieh
Visibility:
Public.

Description

Cleanup: Deprecate FileSystemCallbackDispatcher Replace all FileSystemCallbackDispatcher* with our usual base::Callback. BUG=157537 TEST=existing tests R=michaeln@chromium.org, tzik@chromium.org, yzshen@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200531

Patch Set 1 : #

Total comments: 13

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+607 lines, -1019 lines) Patch
M chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/common/fileapi/file_system_dispatcher.h View 1 4 chunks +44 lines, -17 lines 0 comments Download
M content/common/fileapi/file_system_dispatcher.cc View 1 23 chunks +164 lines, -48 lines 0 comments Download
A content/common/fileapi/webfilesystem_callback_adapters.h View 1 1 chunk +45 lines, -0 lines 0 comments Download
A + content/common/fileapi/webfilesystem_callback_adapters.cc View 1 3 chunks +22 lines, -29 lines 0 comments Download
M content/common/fileapi/webfilesystem_callback_dispatcher.h View 1 1 chunk +0 lines, -48 lines 0 comments Download
M content/common/fileapi/webfilesystem_callback_dispatcher.cc View 1 1 chunk +0 lines, -84 lines 0 comments Download
M content/common/fileapi/webfilesystem_impl.cc View 1 6 chunks +35 lines, -22 lines 0 comments Download
M content/common/fileapi/webfilewriter_impl.cc View 1 2 chunks +11 lines, -49 lines 0 comments Download
M content/content_common.gypi View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/content_renderer.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
D content/renderer/pepper/null_file_system_callback_dispatcher.h View 1 chunk +0 lines, -55 lines 0 comments Download
D content/renderer/pepper/null_file_system_callback_dispatcher.cc View 1 chunk +0 lines, -59 lines 0 comments Download
M content/renderer/pepper/pepper_file_io_host.cc View 1 5 chunks +6 lines, -31 lines 0 comments Download
M content/renderer/pepper/pepper_file_system_host.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/pepper/pepper_file_system_host.cc View 1 4 chunks +18 lines, -32 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.h View 1 2 1 chunk +11 lines, -8 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 4 chunks +52 lines, -83 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M content/worker/websharedworkerclient_proxy.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M webkit/chromeos/fileapi/remote_file_system_operation.cc View 1 chunk +0 lines, -1 line 0 comments Download
D webkit/fileapi/file_system_callback_dispatcher.h View 1 chunk +0 lines, -74 lines 0 comments Download
D webkit/fileapi/file_system_callback_dispatcher.cc View 1 chunk +0 lines, -24 lines 0 comments Download
M webkit/fileapi/isolated_mount_point_provider.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M webkit/fileapi/webfilewriter_base.h View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M webkit/fileapi/webfilewriter_base.cc View 1 2 chunks +28 lines, -21 lines 0 comments Download
M webkit/fileapi/webkit_fileapi.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/file_callbacks.h View 1 1 chunk +0 lines, -94 lines 0 comments Download
M webkit/plugins/ppapi/file_callbacks.cc View 1 1 chunk +0 lines, -147 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.h View 1 2 1 chunk +11 lines, -13 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.cc View 1 2 2 chunks +11 lines, -16 lines 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 2 3 chunks +21 lines, -12 lines 0 comments Download
M webkit/plugins/ppapi/ppb_file_ref_impl.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppb_file_ref_impl.cc View 1 2 11 chunks +104 lines, -27 lines 0 comments Download
M webkit/plugins/webkit_plugins.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
kinuko
Our long-due cleanup. Taiju and/or Michael: can you take a look at changes in: webkit/fileapi/* ...
7 years, 7 months ago (2013-05-14 08:46:30 UTC) #1
tzik
lgtm
7 years, 7 months ago (2013-05-14 12:22:29 UTC) #2
yzshen1
LGTM I am glad to see this CL. Thanks! https://codereview.chromium.org/14796018/diff/54001/content/renderer/pepper/pepper_file_system_host.h File content/renderer/pepper/pepper_file_system_host.h (right): https://codereview.chromium.org/14796018/diff/54001/content/renderer/pepper/pepper_file_system_host.h#newcode40 content/renderer/pepper/pepper_file_system_host.h:40: ...
7 years, 7 months ago (2013-05-14 16:50:09 UTC) #3
michaeln
lgtm, but i'm not really sure we win in the trade? https://chromiumcodereview.appspot.com/14796018/diff/54001/content/common/fileapi/file_system_dispatcher.cc File content/common/fileapi/file_system_dispatcher.cc (right): ...
7 years, 7 months ago (2013-05-14 22:18:58 UTC) #4
kinuko
Update the patch further. Michael/Yuzhu, can you take one more look? 1. Got rid of ...
7 years, 7 months ago (2013-05-15 13:58:03 UTC) #5
yzshen1
Only a few nits. Thanks! https://codereview.chromium.org/14796018/diff/54001/content/renderer/pepper/pepper_file_system_host.h File content/renderer/pepper/pepper_file_system_host.h (right): https://codereview.chromium.org/14796018/diff/54001/content/renderer/pepper/pepper_file_system_host.h#newcode40 content/renderer/pepper/pepper_file_system_host.h:40: void OpenFileSystemReply(base::PlatformFileError platform_error, I ...
7 years, 7 months ago (2013-05-15 18:13:54 UTC) #6
michaeln
lgtm > > I see, here's the code path by which error value seen on ...
7 years, 7 months ago (2013-05-15 19:54:06 UTC) #7
michaeln
https://codereview.chromium.org/14796018/diff/67001/content/common/fileapi/webfilewriter_impl.cc File content/common/fileapi/webfilewriter_impl.cc (right): https://codereview.chromium.org/14796018/diff/67001/content/common/fileapi/webfilewriter_impl.cc#newcode42 content/common/fileapi/webfilewriter_impl.cc:42: base::Bind(&WebFileWriterImpl::DidFinish, AsWeakPtr())); since this is a subclass, shouldn't need ...
7 years, 7 months ago (2013-05-15 20:18:26 UTC) #8
yzshen1
https://codereview.chromium.org/14796018/diff/67001/webkit/plugins/ppapi/ppb_file_ref_impl.cc File webkit/plugins/ppapi/ppb_file_ref_impl.cc (right): https://codereview.chromium.org/14796018/diff/67001/webkit/plugins/ppapi/ppb_file_ref_impl.cc#newcode521 webkit/plugins/ppapi/ppb_file_ref_impl.cc:521: callback, base::Unretained(this), files, file_types), I think it is a ...
7 years, 7 months ago (2013-05-15 20:26:49 UTC) #9
kinuko
Thanks, fixed public/private attribute of some callback methods. Will be submitting... https://codereview.chromium.org/14796018/diff/67001/content/common/fileapi/webfilewriter_impl.cc File content/common/fileapi/webfilewriter_impl.cc (right): ...
7 years, 7 months ago (2013-05-16 09:29:38 UTC) #10
kinuko
7 years, 7 months ago (2013-05-16 14:19:35 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 manually as r200531.

Powered by Google App Engine
This is Rietveld 408576698