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

Issue 3394003: Add Worker support for FileSystem API. (Closed)

Created:
10 years, 3 months ago by kinuko
Modified:
9 years, 7 months ago
Reviewers:
michaeln, ericu, dumi
CC:
chromium-reviews, jam, cbentzel+watch_chromium.org, brettw-cc_chromium.org, darin-cc_chromium.org, ben+cc_chromium.org, dpranke+watch_chromium.org, Paweł Hajdan Jr., pam+watch_chromium.org
Visibility:
Public.

Description

Add Worker support for FileSystem API. (corresponds to https://bugs.webkit.org/show_bug.cgi?id=45808) No support for shared workers yet. BUG=32277 TEST=none; layout tests will be added later. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60683

Patch Set 1 : '' #

Total comments: 9

Patch Set 2 : Removed Frame parameters #

Total comments: 6

Patch Set 3 : '' #

Total comments: 5

Patch Set 4 : '' #

Patch Set 5 : changes for CallbackDispatcher #

Total comments: 2

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -275 lines) Patch
M chrome/browser/file_system/browser_file_system_callback_dispatcher.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/file_system/browser_file_system_callback_dispatcher.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/file_system/file_system_dispatcher_host.h View 5 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/file_system/file_system_dispatcher_host.cc View 5 6 5 chunks +11 lines, -19 lines 0 comments Download
M chrome/browser/file_system/file_system_host_context.h View 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/file_system/file_system_host_context.cc View 3 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/file_system/file_system_host_context_unittest.cc View 6 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.h View 1 2 3 4 5 6 5 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.cc View 1 2 3 4 5 6 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/worker_host/worker_process_host.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/worker_host/worker_process_host.cc View 1 6 chunks +12 lines, -1 line 0 comments Download
M chrome/chrome_common.gypi View 1 2 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/file_system/file_system_dispatcher.h View 3 4 5 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/common/file_system/file_system_dispatcher.cc View 3 4 5 4 chunks +23 lines, -1 line 0 comments Download
A chrome/common/file_system/webfilesystem_callback_dispatcher.h View 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/common/file_system/webfilesystem_callback_dispatcher.cc View 1 chunk +82 lines, -0 lines 0 comments Download
M chrome/common/file_system/webfilesystem_impl.cc View 11 chunks +10 lines, -79 lines 0 comments Download
M chrome/common/render_messages.h View 6 3 chunks +6 lines, -1 line 0 comments Download
M chrome/common/render_messages_internal.h View 5 6 2 chunks +10 lines, -7 lines 0 comments Download
M chrome/common/render_messages_params.h View 5 6 3 chunks +0 lines, -29 lines 0 comments Download
M chrome/common/render_messages_params.cc View 5 6 2 chunks +0 lines, -50 lines 0 comments Download
M chrome/common/webkit_param_traits.h View 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/renderer/render_view.h View 1 2 3 4 5 6 3 chunks +0 lines, -10 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 5 6 5 chunks +11 lines, -39 lines 0 comments Download
M chrome/worker/websharedworker_stub.h View 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/worker/websharedworker_stub.cc View 2 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/worker/webworker_stub.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/worker/webworker_stub.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M chrome/worker/webworker_stub_base.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/worker/webworkerclient_proxy.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/worker/webworkerclient_proxy.cc View 1 2 3 4 5 4 chunks +12 lines, -1 line 0 comments Download
M chrome/worker/worker_thread.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/worker/worker_webkitclient_impl.h View 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/worker/worker_webkitclient_impl.cc View 2 chunks +7 lines, -0 lines 0 comments Download
webkit/fileapi/file_system_callback_dispatcher.h View 2 chunks +1 line, -2 lines 0 comments Download
M webkit/fileapi/file_system_operation_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A webkit/fileapi/file_system_types.h View 1 chunk +17 lines, -0 lines 0 comments Download
webkit/fileapi/webkit_fileapi.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/tools/test_shell/simple_file_system.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
kinuko
10 years, 3 months ago (2010-09-16 19:33:20 UTC) #1
ericu
I'm no expert on this area--I'm more learning from it than reviewing it--but it looks ...
10 years, 3 months ago (2010-09-16 20:17:29 UTC) #2
michaeln
nice job navigating the bewildering worker world! http://codereview.chromium.org/3394003/diff/4001/24 File chrome/common/file_system/open_file_system_dispatcher.cc (right): http://codereview.chromium.org/3394003/diff/4001/24#newcode22 chrome/common/file_system/open_file_system_dispatcher.cc:22: : callbacks(c) ...
10 years, 3 months ago (2010-09-16 20:29:07 UTC) #3
kinuko
http://codereview.chromium.org/3394003/diff/4001/24 File chrome/common/file_system/open_file_system_dispatcher.cc (right): http://codereview.chromium.org/3394003/diff/4001/24#newcode22 chrome/common/file_system/open_file_system_dispatcher.cc:22: : callbacks(c) { } On 2010/09/16 20:29:07, michaeln wrote: ...
10 years, 3 months ago (2010-09-17 00:19:53 UTC) #4
michaeln
http://codereview.chromium.org/3394003/diff/4001/24 File chrome/common/file_system/open_file_system_dispatcher.cc (right): http://codereview.chromium.org/3394003/diff/4001/24#newcode30 chrome/common/file_system/open_file_system_dispatcher.cc:30: OpenFileSystemDispatcher::OpenFileSystemDispatcher() { On 2010/09/17 00:19:53, Kinuko Yasuda wrote: > ...
10 years, 3 months ago (2010-09-17 00:51:56 UTC) #5
kinuko
On 2010/09/17 00:51:56, michaeln wrote: > http://codereview.chromium.org/3394003/diff/11001/12007#newcode35 > chrome/common/file_system/open_file_system_dispatcher.h:35: void > OnOpenFileSystemRequestComplete( > maybe put ...
10 years, 3 months ago (2010-09-17 04:38:01 UTC) #6
michaeln
http://codereview.chromium.org/3394003/diff/27001/28007 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/3394003/diff/27001/28007#newcode683 chrome/renderer/render_view.cc:683: if (ChildThread::current()->file_system_dispatcher()->OnMessageReceived( Is this call in RenderView actually needed? ...
10 years, 3 months ago (2010-09-17 20:39:11 UTC) #7
kinuko
http://codereview.chromium.org/3394003/diff/27001/28007 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/3394003/diff/27001/28007#newcode683 chrome/renderer/render_view.cc:683: if (ChildThread::current()->file_system_dispatcher()->OnMessageReceived( On 2010/09/17 20:39:11, michaeln wrote: > Is ...
10 years, 3 months ago (2010-09-17 21:00:55 UTC) #8
kinuko
http://codereview.chromium.org/3394003/diff/27001/28007 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/3394003/diff/27001/28007#newcode683 chrome/renderer/render_view.cc:683: if (ChildThread::current()->file_system_dispatcher()->OnMessageReceived( On 2010/09/17 21:00:56, Kinuko Yasuda wrote: > ...
10 years, 3 months ago (2010-09-17 21:42:30 UTC) #9
michaeln
LGTM
10 years, 3 months ago (2010-09-17 22:22:15 UTC) #10
kinuko
On 2010/09/17 22:22:15, michaeln wrote: > LGTM (+dumi) Updated to use the newly added callback ...
10 years, 3 months ago (2010-09-23 04:00:12 UTC) #11
dumi
http://codereview.chromium.org/3394003/diff/17002/36012 File chrome/common/file_system/file_system_dispatcher.cc (right): http://codereview.chromium.org/3394003/diff/17002/36012#newcode44 chrome/common/file_system/file_system_dispatcher.cc:44: ViewHostMsg_OpenFileSystemRequest_Params params; is 'routing_id' the routing ID of the ...
10 years, 3 months ago (2010-09-23 04:44:22 UTC) #12
kinuko
http://codereview.chromium.org/3394003/diff/17002/36012 File chrome/common/file_system/file_system_dispatcher.cc (right): http://codereview.chromium.org/3394003/diff/17002/36012#newcode44 chrome/common/file_system/file_system_dispatcher.cc:44: ViewHostMsg_OpenFileSystemRequest_Params params; On 2010/09/23 04:44:22, dumi wrote: > is ...
10 years, 3 months ago (2010-09-24 00:32:42 UTC) #13
dumi
10 years, 3 months ago (2010-09-25 00:20:09 UTC) #14
LGTM

Powered by Google App Engine
This is Rietveld 408576698