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

Unified Diff: native_client_sdk/src/libraries/nacl_mounts/pepper/all_interfaces.h

Issue 11887021: [NaCl SDK] Add HTTP mount. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 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: native_client_sdk/src/libraries/nacl_mounts/pepper/all_interfaces.h
diff --git a/native_client_sdk/src/libraries/nacl_mounts/pepper/all_interfaces.h b/native_client_sdk/src/libraries/nacl_mounts/pepper/all_interfaces.h
index 1dd46b179ccd7ec54a618f5a0bc53152aec6b28d..0851dc4d2f74a6facca85cf80dad54081a13f906 100644
--- a/native_client_sdk/src/libraries/nacl_mounts/pepper/all_interfaces.h
+++ b/native_client_sdk/src/libraries/nacl_mounts/pepper/all_interfaces.h
@@ -69,3 +69,26 @@ BEGIN_INTERFACE(VarInterface, PPB_Var, PPB_VAR_INTERFACE)
METHOD2(VarInterface, struct PP_Var, VarFromUtf8, const char *, uint32_t)
METHOD2(VarInterface, const char*, VarToUtf8, PP_Var, uint32_t*)
END_INTERFACE(VarInterface, PPB_Var)
+
+BEGIN_INTERFACE(URLLoaderInterface, PPB_URLLoader, PPB_URLLOADER_INTERFACE)
+ METHOD1(URLLoaderInterface, PP_Resource, Create, PP_Instance)
+ METHOD3(URLLoaderInterface, int32_t, Open, PP_Resource, PP_Resource,
+ PP_CompletionCallback)
+ METHOD1(URLLoaderInterface, PP_Resource, GetResponseInfo, PP_Resource)
+ METHOD4(URLLoaderInterface, int32_t, ReadResponseBody, PP_Resource, void*,
+ int32_t, PP_CompletionCallback)
+ METHOD1(URLLoaderInterface, void, Close, PP_Resource)
+END_INTERFACE(URLLoaderInterface, PPB_URLLoader)
+
+BEGIN_INTERFACE(URLRequestInfoInterface, PPB_URLRequestInfo,
+ PPB_URLREQUESTINFO_INTERFACE)
+ METHOD1(URLRequestInfoInterface, PP_Resource, Create, PP_Instance)
+ METHOD3(URLRequestInfoInterface, PP_Bool, SetProperty, PP_Resource,
+ PP_URLRequestProperty, PP_Var)
+END_INTERFACE(URLRequestInfoInterface, PPB_URLRequestInfo)
+
+BEGIN_INTERFACE(URLResponseInfoInterface, PPB_URLResponseInfo,
+ PPB_URLRESPONSEINFO_INTERFACE)
+ METHOD2(URLResponseInfoInterface, PP_Var, GetProperty, PP_Resource,
+ PP_URLResponseProperty)
+END_INTERFACE(URLResponseInfoInterface, PPB_URLResponseInfo)
« no previous file with comments | « native_client_sdk/src/libraries/nacl_mounts/path.cc ('k') | native_client_sdk/src/libraries/nacl_mounts/pepper_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698