Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 /** | 6 /** |
| 7 * This file defines the API to create a file reference or "weak pointer" to a | 7 * This file defines the API to create a file reference or "weak pointer" to a |
| 8 * file in a file system. | 8 * file in a file system. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 178 * populated with information about the file or directory. | 178 * populated with information about the file or directory. |
| 179 * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon | 179 * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon |
| 180 * completion of Query(). | 180 * completion of Query(). |
| 181 * | 181 * |
| 182 * @return An int32_t containing an error code from <code>pp_errors.h</code>. | 182 * @return An int32_t containing an error code from <code>pp_errors.h</code>. |
| 183 */ | 183 */ |
| 184 [version=1.1] | 184 [version=1.1] |
| 185 int32_t Query([in] PP_Resource file_ref, | 185 int32_t Query([in] PP_Resource file_ref, |
| 186 [out] PP_FileInfo info, | 186 [out] PP_FileInfo info, |
| 187 [in] PP_CompletionCallback callback); | 187 [in] PP_CompletionCallback callback); |
| 188 | |
| 189 /* Reads all entries in a directory. | |
|
dmichael (off chromium)
2013/05/02 19:43:54
nit: please use doxygen comment style: /**
(see ot
hamaji
2013/05/02 20:14:49
Done.
| |
| 190 * | |
| 191 * @param[in] file_ref A <code>PP_Resource</code> corresponding to a directory | |
| 192 * reference. | |
| 193 * @param[in] output An output array which will receive | |
| 194 * <code>PP_DirectoryEntry</code> objects on success. | |
| 195 * @param[in] callback A <code>PP_CompletionCallback</code> to run on | |
| 196 * completion. | |
| 197 * | |
| 198 * @return An int32_t containing an error code from <code>pp_errors.h</code>. | |
| 199 */ | |
| 200 [version=1.1] | |
|
teravest
2013/05/02 17:32:10
You'll want to make this version 1.2=M29 unless th
hamaji
2013/05/02 18:49:40
We want this real soon and I'd like to land this b
| |
| 201 int32_t ReadEntries([in] PP_Resource file_ref, | |
| 202 [in] PP_ArrayOutput output, | |
| 203 [in] PP_CompletionCallback callback); | |
|
dmichael (off chromium)
2013/05/02 19:43:54
This is a little bit tricky... We would usually r
hamaji
2013/05/02 20:14:49
OK, I'll do my best to land this soon.
| |
| 188 }; | 204 }; |
| 189 | 205 |
| OLD | NEW |