Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Issue 3108042: Support sending BlobData to browser process. Also support sending UploadData... (Closed)

Created:
10 years, 4 months ago by jianli
Modified:
9 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, dpranke+watch_chromium.org, ben+cc_chromium.org, jam, darin-cc_chromium.org, brettw-cc_chromium.org, pam+watch_chromium.org, kinuko
Visibility:
Public.

Description

Support sending BlobData to browser process. Also support sending UploadData with the blob info to browser process. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57707

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 14

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 30

Patch Set 8 : '' #

Total comments: 18

Patch Set 9 : '' #

Total comments: 28

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1078 lines, -9 lines) Patch
M chrome/DEPS View 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/chrome_blob_storage_context.h View 1 chunk +46 lines, -0 lines 0 comments Download
A chrome/browser/chrome_blob_storage_context.cc View 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.h View 1 2 3 4 5 6 7 8 9 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 7 8 9 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/profile.h View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/profile.cc View 1 2 3 4 5 6 7 8 9 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/profile_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/profile_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +12 lines, -0 lines 0 comments Download
A chrome/browser/renderer_host/blob_dispatcher_host.h View 8 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/browser/renderer_host/blob_dispatcher_host.cc View 8 1 chunk +67 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 1 2 3 4 5 6 7 8 9 4 chunks +9 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/common/common_param_traits.h View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/common/common_param_traits.cc View 4 5 6 7 8 9 5 chunks +111 lines, -3 lines 0 comments Download
M chrome/common/render_messages.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 5 6 7 8 9 2 chunks +21 lines, -0 lines 0 comments Download
A chrome/common/webblobregistry_impl.h View 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/common/webblobregistry_impl.cc View 4 5 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/renderer/renderer_webkitclient_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/renderer/renderer_webkitclient_impl.cc View 1 2 3 4 5 6 7 8 9 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/test/testing_profile.h View 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/worker/worker_thread.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/worker/worker_webkitclient_impl.h View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/worker/worker_webkitclient_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -0 lines 0 comments Download
M net/base/upload_data.h View 1 2 3 4 5 6 7 8 9 6 chunks +17 lines, -1 line 0 comments Download
M net/base/upload_data.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
A webkit/blob/blob_data.h View 1 2 3 4 5 6 7 8 1 chunk +196 lines, -0 lines 0 comments Download
A webkit/blob/blob_data.cc View 1 2 3 4 5 6 7 8 9 1 chunk +62 lines, -0 lines 0 comments Download
A webkit/blob/blob_storage_controller.h View 1 2 3 4 5 6 7 8 1 chunk +43 lines, -0 lines 0 comments Download
A webkit/blob/blob_storage_controller.cc View 1 2 3 4 5 6 7 8 1 chunk +117 lines, -0 lines 0 comments Download
A webkit/blob/blob_storage_controller_unittest.cc View 4 5 6 7 1 chunk +85 lines, -0 lines 0 comments Download
A webkit/blob/webkit_blob.gypi View 1 chunk +31 lines, -0 lines 0 comments Download
M webkit/glue/glue_serialize.cc View 1 2 3 4 5 6 7 8 9 5 chunks +10 lines, -3 lines 0 comments Download
M webkit/support/webkit_support.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jianli
10 years, 4 months ago (2010-08-24 02:27:01 UTC) #1
darin (slow to review)
http://codereview.chromium.org/3108042/diff/15002/35008 File chrome/browser/renderer_host/resource_message_filter.h (right): http://codereview.chromium.org/3108042/diff/15002/35008#newcode80 chrome/browser/renderer_host/resource_message_filter.h:80: }; nit: no trailing ';' http://codereview.chromium.org/3108042/diff/15002/35020 File chrome/worker/worker_webblobregistry_impl.cc (right): ...
10 years, 4 months ago (2010-08-25 04:00:23 UTC) #2
michaeln
http://codereview.chromium.org/3108042/diff/15002/35029 File webkit/blob/blob_storage_controller.h (right): http://codereview.chromium.org/3108042/diff/15002/35029#newcode19 webkit/blob/blob_storage_controller.h:19: class BlobStorageController : public base::RefCounted<BlobStorageController> { Since this is ...
10 years, 4 months ago (2010-08-25 19:36:19 UTC) #3
jianli
http://codereview.chromium.org/3108042/diff/15002/35008 File chrome/browser/renderer_host/resource_message_filter.h (right): http://codereview.chromium.org/3108042/diff/15002/35008#newcode80 chrome/browser/renderer_host/resource_message_filter.h:80: }; On 2010/08/25 04:00:23, darin wrote: > nit: no ...
10 years, 4 months ago (2010-08-25 23:53:44 UTC) #4
michaeln
Not a full review but some comments http://codereview.chromium.org/3108042/diff/52002/61004 File chrome/browser/chrome_blob_storage_controller.h (right): http://codereview.chromium.org/3108042/diff/52002/61004#newcode11 chrome/browser/chrome_blob_storage_controller.h:11: #include "webkit/blob/blob_storage_controller.h" ...
10 years, 4 months ago (2010-08-26 20:43:05 UTC) #5
jianli
http://codereview.chromium.org/3108042/diff/52002/61004 File chrome/browser/chrome_blob_storage_controller.h (right): http://codereview.chromium.org/3108042/diff/52002/61004#newcode11 chrome/browser/chrome_blob_storage_controller.h:11: #include "webkit/blob/blob_storage_controller.h" On 2010/08/26 20:43:05, michaeln wrote: > is ...
10 years, 4 months ago (2010-08-26 22:55:51 UTC) #6
michaeln
Also, thank you so much for revamping this to be a chrome centric implementation!
10 years, 4 months ago (2010-08-26 22:56:57 UTC) #7
michaeln
Thinking about how BlobBuilder is likely to be used, say to construct POST bodies programatically. ...
10 years, 4 months ago (2010-08-27 00:36:36 UTC) #8
jianli
> Thinking about how BlobBuilder is likely to be used, say to construct POST > ...
10 years, 4 months ago (2010-08-27 01:07:41 UTC) #9
darin (slow to review)
OK, LGTM modulo: http://codereview.chromium.org/3108042/diff/72001/73018 File chrome/common/render_messages_internal.h (right): http://codereview.chromium.org/3108042/diff/72001/73018#newcode2719 chrome/common/render_messages_internal.h:2719: scoped_refptr<webkit_blob::BlobData> /* blob_data */) did you ...
10 years, 3 months ago (2010-08-27 07:27:30 UTC) #10
brettw
http://codereview.chromium.org/3108042/diff/72001/73029 File webkit/blob/blob_data.cc (right): http://codereview.chromium.org/3108042/diff/72001/73029#newcode21 webkit/blob/blob_data.cc:21: // We have to work around this problem here. ...
10 years, 3 months ago (2010-08-27 15:22:02 UTC) #11
jianli
http://codereview.chromium.org/3108042/diff/72001/73029 File webkit/blob/blob_data.cc (right): http://codereview.chromium.org/3108042/diff/72001/73029#newcode21 webkit/blob/blob_data.cc:21: // We have to work around this problem here. ...
10 years, 3 months ago (2010-08-27 16:51:30 UTC) #12
michaeln
http://codereview.chromium.org/3108042/diff/52002/61029 File webkit/blob/blob_data.h (right): http://codereview.chromium.org/3108042/diff/52002/61029#newcode56 webkit/blob/blob_data.h:56: length_ = length; > I added a TODO to ...
10 years, 3 months ago (2010-08-27 18:24:43 UTC) #13
jianli
http://codereview.chromium.org/3108042/diff/72001/73018 File chrome/common/render_messages_internal.h (right): http://codereview.chromium.org/3108042/diff/72001/73018#newcode2719 chrome/common/render_messages_internal.h:2719: scoped_refptr<webkit_blob::BlobData> /* blob_data */) On 2010/08/27 07:27:30, darin wrote: ...
10 years, 3 months ago (2010-08-27 18:30:05 UTC) #14
jianli
I addressed all remaining feedbacks in my next patch: http://codereview.chromium.org/3282003/show. Thanks. http://codereview.chromium.org/3108042/diff/72001/73029 File webkit/blob/blob_data.cc (right): ...
10 years, 3 months ago (2010-08-27 22:47:00 UTC) #15
jianli
Updated the patch to use "#if 0/#endif" to temporarily disable BlobStorageController usages in test_shell. This ...
10 years, 3 months ago (2010-08-28 21:05:34 UTC) #16
darin (slow to review)
10 years, 3 months ago (2010-08-29 21:42:13 UTC) #17
OK

On Sat, Aug 28, 2010 at 2:05 PM, <[email protected]> wrote:

> Updated the patch to use "#if 0/#endif" to temporarily disable
> BlobStorageController usages in test_shell. This is because we need to
> change
> WebKit.gyp to include blob dependency and pull it downstream. To expedite
> the
> process, I use this as workaround so that I can land this patch first.
>
>
> http://codereview.chromium.org/3108042/show
>

Powered by Google App Engine
This is Rietveld 408576698