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

Unified Diff: native_client_sdk/src/libraries/nacl_io/mount_node_http.h

Issue 77423002: [NaCl SDK] Add URLLoader fake pepper interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: feedback Created 7 years, 1 month 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_io/mount_node_http.h
diff --git a/native_client_sdk/src/libraries/nacl_io/mount_node_http.h b/native_client_sdk/src/libraries/nacl_io/mount_node_http.h
index 0e083b463c64582d7dce95106b601881dacdb1a0..9ea5f147192d81141998b180225e438e2e9c2cb9 100644
--- a/native_client_sdk/src/libraries/nacl_io/mount_node_http.h
+++ b/native_client_sdk/src/libraries/nacl_io/mount_node_http.h
@@ -52,11 +52,14 @@ class MountNodeHttp : public MountNode {
StringMap_t* out_response_headers);
Error DownloadToCache();
- Error ReadPartialFromCache(size_t offs,
+ Error ReadPartialFromCache(const HandleAttr& attr,
void* buf,
int count,
int* out_bytes);
- Error DownloadPartial(size_t offs, void* buf, size_t count, int* out_bytes);
+ Error DownloadPartial(const HandleAttr& attr,
+ void* buf,
+ size_t count,
+ int* out_bytes);
Error DownloadToBuffer(PP_Resource loader,
void* buf,
int count,
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/mount_http.h ('k') | native_client_sdk/src/libraries/nacl_io/mount_node_http.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698