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

Unified Diff: src/shared/ppapi_proxy/browser_ppb_url_response_info_rpc_server.cc

Issue 6177007: ppapi_proxy: Support loading and reading urls. Proxy URLLoader.... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/shared/ppapi_proxy/browser_ppb_url_response_info_rpc_server.cc
===================================================================
--- src/shared/ppapi_proxy/browser_ppb_url_response_info_rpc_server.cc (revision 4123)
+++ src/shared/ppapi_proxy/browser_ppb_url_response_info_rpc_server.cc (working copy)
@@ -23,7 +23,6 @@
PP_Resource resource,
// outputs
int32_t* success) {
- NACL_UNTESTED();
NaClSrpcClosureRunner runner(done);
PP_Bool pp_success =
@@ -43,15 +42,13 @@
int32_t property,
// outputs
nacl_abi_size_t* value_size, char* value_bytes) {
- NACL_UNTESTED();
NaClSrpcClosureRunner runner(done);
rpc->result = NACL_SRPC_RESULT_APP_ERROR;
PP_Var value = PPBURLResponseInfoInterface()->GetProperty(
- response,
- static_cast<PP_URLResponseProperty>(property));
+ response, static_cast<PP_URLResponseProperty>(property));
DebugPrintf("PPB_URLResponseInfo::GetProperty: type=%d\n",
- value.type);
+ value.type);
if (!SerializeTo(&value, value_bytes, value_size))
return;
@@ -65,13 +62,12 @@
PP_Resource response,
// outputs
PP_Resource* file_ref) {
- NACL_UNTESTED();
NaClSrpcClosureRunner runner(done);
rpc->result = NACL_SRPC_RESULT_APP_ERROR;
*file_ref = PPBURLResponseInfoInterface()->GetBodyAsFileRef(response);
DebugPrintf("PPB_URLResponseInfo::GetBodyAsFileRef: file_ref="NACL_PRIx64"\n",
- *file_ref);
+ *file_ref);
rpc->result = NACL_SRPC_RESULT_OK;
}
« no previous file with comments | « src/shared/ppapi_proxy/browser_ppb_url_request_info_rpc_server.cc ('k') | src/shared/ppapi_proxy/build.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698