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

Side by Side Diff: ppapi/api/ppb_file_system.idl

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
« no previous file with comments | « no previous file | ppapi/api/ppb_graphics_2d.idl » ('j') | ppapi/api/ppb_graphics_2d.idl » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /** 6 /**
7 * This file defines the API to create a file system associated with a file. 7 * This file defines the API to create a file system associated with a file.
8 */ 8 */
9 9
10 label Chrome { 10 label Chrome {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 * any other operation on it. 45 * any other operation on it.
46 * 46 *
47 * @param[in] file_system A <code>PP_Resource</code> corresponding to a file 47 * @param[in] file_system A <code>PP_Resource</code> corresponding to a file
48 * system. 48 * system.
49 * @param[in] expected_size The expected size of the file system. 49 * @param[in] expected_size The expected size of the file system.
50 * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon 50 * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
51 * completion of Open(). 51 * completion of Open().
52 * 52 *
53 * @return An int32_t containing an error code from <code>pp_errors.h</code>. 53 * @return An int32_t containing an error code from <code>pp_errors.h</code>.
54 */ 54 */
55
56 /*
57 * TODO(brettw) clarify whether this must have completed before a file can
58 * be opened in it. Clarify what it means to be "completed."
59 */
dmichael (off chromium) 2012/03/19 17:41:52 The first sentence in the documentation covers thi
60 int32_t Open([in] PP_Resource file_system, 55 int32_t Open([in] PP_Resource file_system,
61 [in] int64_t expected_size, 56 [in] int64_t expected_size,
62 [in] PP_CompletionCallback callback); 57 [in] PP_CompletionCallback callback);
63 58
64 /** 59 /**
65 * GetType() returns the type of the provided file system. 60 * GetType() returns the type of the provided file system.
66 * 61 *
67 * @param[in] file_system A <code>PP_Resource</code> corresponding to a file 62 * @param[in] file_system A <code>PP_Resource</code> corresponding to a file
68 * system. 63 * system.
69 * 64 *
70 * @return A <code>PP_FileSystemType</code> with the file system type if 65 * @return A <code>PP_FileSystemType</code> with the file system type if
71 * valid or <code>PP_FILESYSTEMTYPE_INVALID</code> if the provided resource 66 * valid or <code>PP_FILESYSTEMTYPE_INVALID</code> if the provided resource
72 * is not a valid file system. It is valid to call this function even before 67 * is not a valid file system. It is valid to call this function even before
73 * Open() completes. 68 * Open() completes.
74 */ 69 */
75 PP_FileSystemType GetType([in] PP_Resource file_system); 70 PP_FileSystemType GetType([in] PP_Resource file_system);
76 }; 71 };
77 72
OLDNEW
« no previous file with comments | « no previous file | ppapi/api/ppb_graphics_2d.idl » ('j') | ppapi/api/ppb_graphics_2d.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698