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

Issue 10993031: Refactor the URLResponseInfo to use new design (Closed)

Created:
8 years, 2 months ago by brettw
Modified:
8 years, 1 month ago
Reviewers:
bbudge, jschuh
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Refactor the URLResponseInfo to use new design This puts all of the URLResponseInfo attributes in a struct so it can be sent over IPC in one message rather than requiring one sync IPC per attribute access. This includes a new example of streaming to a file that I used to do some manual tests of this change. I added and improved some documentation that I noticed when trying to write the example. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=168273

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : flags #

Patch Set 7 : revert shim #

Total comments: 11

Patch Set 8 : Review comments addressed. #

Patch Set 9 : Merge #

Patch Set 10 : #

Patch Set 11 : Fix refcounting for in-process #

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+529 lines, -474 lines) Patch
M content/renderer/pepper/pepper_in_process_resource_creation.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_in_process_resource_creation.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M ppapi/api/ppb_file_io.idl View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/c/ppb_file_io.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M ppapi/cpp/file_io.h View 1 2 3 4 5 6 7 2 chunks +37 lines, -4 lines 0 comments Download
A + ppapi/examples/url_loader/stream_to_file.cc View 1 2 3 4 5 6 7 5 chunks +44 lines, -51 lines 0 comments Download
M ppapi/examples/url_loader/streaming.cc View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -0 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 9 4 chunks +13 lines, -11 lines 0 comments Download
M ppapi/proxy/ppb_url_loader_proxy.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M ppapi/proxy/ppb_url_loader_proxy.cc View 1 2 3 4 5 6 7 8 9 5 chunks +29 lines, -11 lines 0 comments Download
D ppapi/proxy/ppb_url_response_info_proxy.h View 1 chunk +0 lines, -55 lines 0 comments Download
D ppapi/proxy/ppb_url_response_info_proxy.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -132 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -0 lines 0 comments Download
A ppapi/proxy/url_response_info_resource.h View 1 2 3 4 5 6 7 1 chunk +53 lines, -0 lines 0 comments Download
A ppapi/proxy/url_response_info_resource.cc View 1 2 3 4 1 chunk +82 lines, -0 lines 0 comments Download
A ppapi/shared_impl/url_response_info_data.h View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
A + ppapi/shared_impl/url_response_info_data.cc View 1 2 3 4 1 chunk +3 lines, -6 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_stable.h View 1 2 3 4 5 6 7 8 2 chunks +1 line, -2 lines 0 comments Download
M ppapi/thunk/ppb_url_loader_api.h View 1 2 3 4 5 6 7 2 chunks +9 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_url_response_info_api.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M ppapi/thunk/resource_creation_api.h View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -0 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/ppb_url_loader_impl.h View 1 2 3 4 6 chunks +9 lines, -5 lines 0 comments Download
M webkit/plugins/ppapi/ppb_url_loader_impl.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +42 lines, -9 lines 0 comments Download
D webkit/plugins/ppapi/ppb_url_response_info_impl.h View 1 1 chunk +0 lines, -58 lines 0 comments Download
D webkit/plugins/ppapi/ppb_url_response_info_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -118 lines 0 comments Download
A webkit/plugins/ppapi/url_response_info_util.h View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
A webkit/plugins/ppapi/url_response_info_util.cc View 1 2 3 4 5 6 7 8 1 chunk +78 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
brettw
8 years, 2 months ago (2012-10-11 23:39:24 UTC) #1
bbudge
LGTM w/ comments and nits http://codereview.chromium.org/10993031/diff/12001/ppapi/cpp/file_io.h File ppapi/cpp/file_io.h (right): http://codereview.chromium.org/10993031/diff/12001/ppapi/cpp/file_io.h#newcode105 ppapi/cpp/file_io.h:105: /// class if it ...
8 years, 2 months ago (2012-10-12 01:27:06 UTC) #2
brettw
http://codereview.chromium.org/10993031/diff/12001/ppapi/examples/url_loader/stream_to_file.cc File ppapi/examples/url_loader/stream_to_file.cc (right): http://codereview.chromium.org/10993031/diff/12001/ppapi/examples/url_loader/stream_to_file.cc#newcode123 ppapi/examples/url_loader/stream_to_file.cc:123: // to keep things simple. It's kind of annoying ...
8 years, 2 months ago (2012-10-12 19:34:53 UTC) #3
brettw
8 years, 1 month ago (2012-11-15 19:30:18 UTC) #4
+jschuh for _messages.h

Powered by Google App Engine
This is Rietveld 408576698