summaryrefslogtreecommitdiffstats
path: root/ppapi/c
diff options
context:
space:
mode:
authordumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-18 19:29:04 +0000
committerdumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-18 19:29:04 +0000
commit381cde1f9843cf2f0a69776b35e469ea846f7f6c (patch)
tree831edaa109a931881174199365cfc647d6b723fd /ppapi/c
parent8da36687f7292d2dd8818734bbed2d00666b6fa8 (diff)
downloadchromium_src-381cde1f9843cf2f0a69776b35e469ea846f7f6c.zip
chromium_src-381cde1f9843cf2f0a69776b35e469ea846f7f6c.tar.gz
chromium_src-381cde1f9843cf2f0a69776b35e469ea846f7f6c.tar.bz2
Make the GetName() comment more clear.
BUG=none TEST=none Review URL: http://codereview.chromium.org/5179002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66661 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c')
-rw-r--r--ppapi/c/dev/ppb_file_ref_dev.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ppapi/c/dev/ppb_file_ref_dev.h b/ppapi/c/dev/ppb_file_ref_dev.h
index d43a80f..1ca6d52 100644
--- a/ppapi/c/dev/ppb_file_ref_dev.h
+++ b/ppapi/c/dev/ppb_file_ref_dev.h
@@ -27,7 +27,10 @@ struct PPB_FileRef_Dev {
// Returns the file system identifier of this file.
PP_FileSystemType_Dev (*GetFileSystemType)(PP_Resource file_ref);
- // Returns the name of the file.
+ // Returns the name of the file. The value returned by this function does not
+ // include any path component (such as the name of the parent directory, for
+ // example). It is just the name of the file. To get the full file path, use
+ // the GetPath() function.
struct PP_Var (*GetName)(PP_Resource file_ref);
// Returns the absolute path of the file. This method fails if the file