Chromium Code Reviews| Index: ppapi/cpp/file_ref.h |
| diff --git a/ppapi/cpp/file_ref.h b/ppapi/cpp/file_ref.h |
| index 05cdc3691b02fe9790693bc6faa0a92c3f95172f..593225acddde4e11343d75da44f557714551c0ab 100644 |
| --- a/ppapi/cpp/file_ref.h |
| +++ b/ppapi/cpp/file_ref.h |
| @@ -143,6 +143,19 @@ class FileRef : public Resource { |
| /// |
| /// @return An int32_t containing an error code from <code>pp_errors.h</code>. |
| int32_t Rename(const FileRef& new_file_ref, const CompletionCallback& cc); |
| + |
| + /// |
| + /// Query() queries info about a file or directory. You must have access to |
| + /// read this file or directory if it exists in the external filesystem. |
| + /// |
| + /// @param[out] info A pointer to a <code>PP_FileInfo</code> which will be |
| + /// populated with information about the file or directory. |
| + /// @param[in] callback A <code>PP_CompletionCallback</code> to be called upon |
| + /// completion of Query(). |
| + /// |
| + /// @return An int32_t containing an error code from <code>pp_errors.h</code>. |
| + int32_t Query(PP_FileInfo* info, const CompletionCallback& callback); |
|
dmichael (off chromium)
2013/03/18 23:16:16
Please use "CompletionCallbackWithOutput<PP_FileIn
teravest
2013/03/21 16:45:04
Done.
|
| + |
| }; |
| } // namespace pp |