summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorbbudge@google.com <bbudge@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 19:09:16 +0000
committerbbudge@google.com <bbudge@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 19:09:16 +0000
commit2f6ea01e5ac00ae903c4687cc98cb94cd9569d69 (patch)
tree4774b7ed6f72f244bf45b8a1fea05487ab132cd5 /ppapi
parent58d4c7a2fcf7d3e5d7be484ab229546502054e76 (diff)
downloadchromium_src-2f6ea01e5ac00ae903c4687cc98cb94cd9569d69.zip
chromium_src-2f6ea01e5ac00ae903c4687cc98cb94cd9569d69.tar.gz
chromium_src-2f6ea01e5ac00ae903c4687cc98cb94cd9569d69.tar.bz2
Fix comment on trusted File IO method to indicate that HANDLE is returned on Windows
TEST=none BUG=http://code.google.com/p/nativeclient/issues/detail?id=938 Review URL: http://codereview.chromium.org/6079001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/c/dev/ppb_file_io_trusted_dev.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/ppapi/c/dev/ppb_file_io_trusted_dev.h b/ppapi/c/dev/ppb_file_io_trusted_dev.h
index 4919374..433f1c7 100644
--- a/ppapi/c/dev/ppb_file_io_trusted_dev.h
+++ b/ppapi/c/dev/ppb_file_io_trusted_dev.h
@@ -14,10 +14,11 @@ struct PP_CompletionCallback;
// Available only to trusted implementations.
struct PPB_FileIOTrusted_Dev {
- // Returns a POSIX file descriptor corresponding to the given FileIO object.
- // The FileIO object must have been opened with a successful call to
- // FileIO::Open. The file descriptor will be closed automatically when the
- // FileIO object is closed or destroyed.
+ // Returns a file descriptor corresponding to the given FileIO object. On
+ // Windows, returns a HANDLE; on all other platforms, returns a POSIX file
+ // descriptor. The FileIO object must have been opened with a successful
+ // call to FileIO::Open. The file descriptor will be closed automatically
+ // when the FileIO object is closed or destroyed.
int32_t (*GetOSFileDescriptor)(PP_Resource file_io);
// Notifies the browser that underlying file will be modified. This gives