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

Issue 6177007: ppapi_proxy: Support loading and reading urls. Proxy URLLoader.... (Closed)

Created:
9 years, 11 months ago by polina
Modified:
9 years, 7 months ago
CC:
native-client-reviews_googlegroups.com, Sang Ahn, garianov
Visibility:
Public.

Description

ppapi_proxy: Support loading and reading urls. Proxy URLLoader. Enable ppapi_geturl test. Extend callback support to store buffer pointers for byte reads. Remove NACL_UNTESTED from the proxy code that ppapi_geturl exercises. This includes most PPB_URLRequestInfo, PPB_URLResponseInfo, PPB_URLLoader methods as well as PPB_Instance::GetWindowObject. Add some dummy code to ppapi_geturl to test PPB_Foo::IsFoo methods. Rename *url_loader* files to follow the new naming convention. Comment out a delete statement PluginVar::Release that caused crashes on subsequent usages of GetWindowObject. Add a comment with a bug link. BUG= http://code.google.com/p/nativeclient/issues/detail?id=928 TEST= ppapi_geturl, manually in chrome Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=4127

Patch Set 1 : '' #

Total comments: 6

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1120 lines, -233 lines) Patch
M src/shared/ppapi_proxy/browser_callback.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/shared/ppapi_proxy/browser_callback.cc View 1 4 chunks +39 lines, -8 lines 0 comments Download
M src/shared/ppapi_proxy/browser_globals.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/shared/ppapi_proxy/browser_globals.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/shared/ppapi_proxy/browser_ppb_instance_rpc_server.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
A src/shared/ppapi_proxy/browser_ppb_url_loader_rpc_server.cc View 1 1 chunk +248 lines, -0 lines 0 comments Download
M src/shared/ppapi_proxy/browser_ppb_url_request_info_rpc_server.cc View 1 3 chunks +0 lines, -3 lines 0 comments Download
M src/shared/ppapi_proxy/browser_ppb_url_response_info_rpc_server.cc View 1 3 chunks +3 lines, -7 lines 0 comments Download
M src/shared/ppapi_proxy/build.scons View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/shared/ppapi_proxy/completion_callback.srpc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/shared/ppapi_proxy/nacl.scons View 1 3 chunks +2 lines, -1 line 0 comments Download
M src/shared/ppapi_proxy/plugin_callback.h View 1 1 chunk +12 lines, -4 lines 0 comments Download
M src/shared/ppapi_proxy/plugin_callback.cc View 1 3 chunks +31 lines, -8 lines 0 comments Download
M src/shared/ppapi_proxy/plugin_ppb.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/shared/ppapi_proxy/plugin_ppb_instance.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
A + src/shared/ppapi_proxy/plugin_ppb_url_loader.h View 1 chunk +1 line, -1 line 0 comments Download
A + src/shared/ppapi_proxy/plugin_ppb_url_loader.cc View 3 chunks +166 lines, -35 lines 0 comments Download
M src/shared/ppapi_proxy/plugin_ppb_url_request_info.cc View 1 3 chunks +2 lines, -6 lines 0 comments Download
M src/shared/ppapi_proxy/plugin_ppb_url_response_info.cc View 1 3 chunks +0 lines, -3 lines 0 comments Download
M src/shared/ppapi_proxy/plugin_upcall.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
D src/shared/ppapi_proxy/plugin_url_loader.h View 1 1 chunk +0 lines, -26 lines 0 comments Download
D src/shared/ppapi_proxy/plugin_url_loader.cc View 1 1 chunk +0 lines, -111 lines 0 comments Download
M src/shared/ppapi_proxy/plugin_var.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M src/shared/ppapi_proxy/ppapi_proxy.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/shared/ppapi_proxy/ppb_rpc_client.cc View 1 3 chunks +164 lines, -4 lines 0 comments Download
M src/shared/ppapi_proxy/ppb_rpc_server.cc View 1 2 chunks +161 lines, -0 lines 0 comments Download
A src/shared/ppapi_proxy/ppb_url_loader.srpc View 1 1 chunk +83 lines, -0 lines 0 comments Download
M src/shared/ppapi_proxy/ppp_rpc_client.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M src/shared/ppapi_proxy/ppp_rpc_server.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h View 1 1 chunk +69 lines, -0 lines 0 comments Download
M src/shared/ppapi_proxy/trusted/srpcgen/ppp_rpc.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h View 1 3 chunks +61 lines, -2 lines 0 comments Download
M src/shared/ppapi_proxy/untrusted/srpcgen/ppp_rpc.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M tests/ppapi_geturl/url_load_request.cc View 1 5 chunks +38 lines, -0 lines 0 comments Download
M tests/srpc/examples_ppapi.html View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
polina
9 years, 11 months ago (2011-01-12 01:51:23 UTC) #1
sehr (please use chromium)
One question, two ultra-nits. Fix and LGTM. http://codereview.chromium.org/6177007/diff/29001/src/shared/ppapi_proxy/browser_callback.cc File src/shared/ppapi_proxy/browser_callback.cc (right): http://codereview.chromium.org/6177007/diff/29001/src/shared/ppapi_proxy/browser_callback.cc#newcode52 src/shared/ppapi_proxy/browser_callback.cc:52: nacl::scoped_ptr_malloc<char> read_buffer(remote_callback->read_buffer); ...
9 years, 11 months ago (2011-01-12 17:49:12 UTC) #2
polina
http://codereview.chromium.org/6177007/diff/29001/src/shared/ppapi_proxy/browser_callback.cc File src/shared/ppapi_proxy/browser_callback.cc (right): http://codereview.chromium.org/6177007/diff/29001/src/shared/ppapi_proxy/browser_callback.cc#newcode52 src/shared/ppapi_proxy/browser_callback.cc:52: nacl::scoped_ptr_malloc<char> read_buffer(remote_callback->read_buffer); On 2011/01/12 17:49:12, sehr wrote: > Just ...
9 years, 11 months ago (2011-01-12 23:44:26 UTC) #3
sehr (please use chromium)
On 2011/01/12 23:44:26, polina wrote: > http://codereview.chromium.org/6177007/diff/29001/src/shared/ppapi_proxy/browser_callback.cc > File src/shared/ppapi_proxy/browser_callback.cc (right): > > http://codereview.chromium.org/6177007/diff/29001/src/shared/ppapi_proxy/browser_callback.cc#newcode52 > ...
9 years, 11 months ago (2011-01-13 00:46:07 UTC) #4
polina
9 years, 11 months ago (2011-01-13 01:06:37 UTC) #5
Committed revision 4127.

Powered by Google App Engine
This is Rietveld 408576698