Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: ppapi/c/ppb_file_system.h

Issue 9731003: PPAPI: Remove out-dated or unnecessary TODOs from public files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 /* From ppb_file_system.idl modified Wed Feb 15 13:55:58 2012. */ 6 /* From ppb_file_system.idl modified Mon Mar 19 11:36:09 2012. */
7 7
8 #ifndef PPAPI_C_PPB_FILE_SYSTEM_H_ 8 #ifndef PPAPI_C_PPB_FILE_SYSTEM_H_
9 #define PPAPI_C_PPB_FILE_SYSTEM_H_ 9 #define PPAPI_C_PPB_FILE_SYSTEM_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/pp_file_info.h" 13 #include "ppapi/c/pp_file_info.h"
14 #include "ppapi/c/pp_instance.h" 14 #include "ppapi/c/pp_instance.h"
15 #include "ppapi/c/pp_macros.h" 15 #include "ppapi/c/pp_macros.h"
16 #include "ppapi/c/pp_resource.h" 16 #include "ppapi/c/pp_resource.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 * any other operation on it. 61 * any other operation on it.
62 * 62 *
63 * @param[in] file_system A <code>PP_Resource</code> corresponding to a file 63 * @param[in] file_system A <code>PP_Resource</code> corresponding to a file
64 * system. 64 * system.
65 * @param[in] expected_size The expected size of the file system. 65 * @param[in] expected_size The expected size of the file system.
66 * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon 66 * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
67 * completion of Open(). 67 * completion of Open().
68 * 68 *
69 * @return An int32_t containing an error code from <code>pp_errors.h</code>. 69 * @return An int32_t containing an error code from <code>pp_errors.h</code>.
70 */ 70 */
71 /*
72 * TODO(brettw) clarify whether this must have completed before a file can
73 * be opened in it. Clarify what it means to be "completed."
74 */
75 int32_t (*Open)(PP_Resource file_system, 71 int32_t (*Open)(PP_Resource file_system,
76 int64_t expected_size, 72 int64_t expected_size,
77 struct PP_CompletionCallback callback); 73 struct PP_CompletionCallback callback);
78 /** 74 /**
79 * GetType() returns the type of the provided file system. 75 * GetType() returns the type of the provided file system.
80 * 76 *
81 * @param[in] file_system A <code>PP_Resource</code> corresponding to a file 77 * @param[in] file_system A <code>PP_Resource</code> corresponding to a file
82 * system. 78 * system.
83 * 79 *
84 * @return A <code>PP_FileSystemType</code> with the file system type if 80 * @return A <code>PP_FileSystemType</code> with the file system type if
85 * valid or <code>PP_FILESYSTEMTYPE_INVALID</code> if the provided resource 81 * valid or <code>PP_FILESYSTEMTYPE_INVALID</code> if the provided resource
86 * is not a valid file system. It is valid to call this function even before 82 * is not a valid file system. It is valid to call this function even before
87 * Open() completes. 83 * Open() completes.
88 */ 84 */
89 PP_FileSystemType (*GetType)(PP_Resource file_system); 85 PP_FileSystemType (*GetType)(PP_Resource file_system);
90 }; 86 };
91 87
92 typedef struct PPB_FileSystem_1_0 PPB_FileSystem; 88 typedef struct PPB_FileSystem_1_0 PPB_FileSystem;
93 /** 89 /**
94 * @} 90 * @}
95 */ 91 */
96 92
97 #endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */ 93 #endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */
98 94
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698