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

Unified Diff: src/shared/ppapi_proxy/plugin_ppb_url_request_info.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/plugin_ppb_url_request_info.cc
===================================================================
--- src/shared/ppapi_proxy/plugin_ppb_url_request_info.cc (revision 4123)
+++ src/shared/ppapi_proxy/plugin_ppb_url_request_info.cc (working copy)
@@ -23,9 +23,7 @@
namespace {
PP_Resource Create(PP_Module module) {
- DebugPrintf("PPB_URLRequestInfo::Create: module=%"
- NACL_PRIx64"\n", module);
- NACL_UNTESTED();
+ DebugPrintf("PPB_URLRequestInfo::Create: module=%"NACL_PRIx64"\n", module);
PP_Resource resource;
NaClSrpcError srpc_result =
@@ -35,14 +33,13 @@
NaClSrpcErrorString(srpc_result));
if (srpc_result == NACL_SRPC_RESULT_OK)
- return static_cast<PP_Resource>(resource);
+ return resource;
return kInvalidResourceId;
}
PP_Bool IsURLRequestInfo(PP_Resource resource) {
DebugPrintf("PPB_URLRequestInfo::IsURLRequestInfo: resource=%"NACL_PRIx64"\n",
resource);
- NACL_UNTESTED();
int32_t success;
NaClSrpcError srpc_result =
@@ -61,7 +58,6 @@
struct PP_Var value) {
DebugPrintf("PPB_URLRequestInfo::SetProperty: request=%"NACL_PRIx64"\n",
request);
- NACL_UNTESTED();
nacl_abi_size_t value_size = kMaxVarSize;
nacl::scoped_array<char> value_bytes(Serialize(&value, 1, &value_size));
« no previous file with comments | « src/shared/ppapi_proxy/plugin_ppb_url_loader.cc ('k') | src/shared/ppapi_proxy/plugin_ppb_url_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698