summaryrefslogtreecommitdiffstats
path: root/ppapi/api
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 20:11:06 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 20:11:06 +0000
commit844fecb93b985d0d975e4fd1c3ce5b7ad223047b (patch)
treee585258bbc43ce28efb53fd809ddf624cfb9fe24 /ppapi/api
parent5909c79978cd7f940ed04ccbfe68c004636ceea5 (diff)
downloadchromium_src-844fecb93b985d0d975e4fd1c3ce5b7ad223047b.zip
chromium_src-844fecb93b985d0d975e4fd1c3ce5b7ad223047b.tar.gz
chromium_src-844fecb93b985d0d975e4fd1c3ce5b7ad223047b.tar.bz2
Refactor the URLResponseInfo to use new design
This puts all of the URLResponseInfo attributes in a struct so it can be sent over IPC in one message rather than requiring one sync IPC per attribute access. This includes a new example of streaming to a file that I used to do some manual tests of this change. I added and improved some documentation that I noticed when trying to write the example. Review URL: https://codereview.chromium.org/10993031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r--ppapi/api/ppb_file_io.idl3
1 files changed, 2 insertions, 1 deletions
diff --git a/ppapi/api/ppb_file_io.idl b/ppapi/api/ppb_file_io.idl
index 23e97ca..a8b4baf 100644
--- a/ppapi/api/ppb_file_io.idl
+++ b/ppapi/api/ppb_file_io.idl
@@ -144,7 +144,8 @@ interface PPB_FileIO {
/**
* Read() reads from an offset in the file. The size of the buffer must be
* large enough to hold the specified number of bytes to read. This function
- * might perform a partial read.
+ * might perform a partial read, meaning all the requested bytes
+ * might not be returned, even if the end of the file has not been reached.
*
* ReadToArray() is preferred to Read() when doing asynchronous operations.
*