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

Side by Side Diff: ppapi/cpp/file_system.h

Issue 7307037: C++ File IO documentation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | « ppapi/cpp/file_ref.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef PPAPI_CPP_FILE_SYSTEM_H_ 5 #ifndef PPAPI_CPP_FILE_SYSTEM_H_
6 #define PPAPI_CPP_FILE_SYSTEM_H_ 6 #define PPAPI_CPP_FILE_SYSTEM_H_
7 7
8 #include "ppapi/c/pp_file_info.h" 8 #include "ppapi/c/pp_file_info.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_stdint.h" 10 #include "ppapi/c/pp_stdint.h"
(...skipping 21 matching lines...) Expand all
32 /// @param[in] instance A <code>Instance</code> indentifying the instance 32 /// @param[in] instance A <code>Instance</code> indentifying the instance
33 /// with the file. 33 /// with the file.
34 /// @param[in] type A file system type as defined by 34 /// @param[in] type A file system type as defined by
35 /// <code>PP_FileSystemType</code> enum. 35 /// <code>PP_FileSystemType</code> enum.
36 FileSystem(Instance* instance, PP_FileSystemType type); 36 FileSystem(Instance* instance, PP_FileSystemType type);
37 37
38 /// Open() opens the file system. A file system must be opened before running 38 /// Open() opens the file system. A file system must be opened before running
39 /// any other operation on it. 39 /// any other operation on it.
40 /// 40 ///
41 /// @param[in] expected_size The expected size of the file system. 41 /// @param[in] expected_size The expected size of the file system.
42 /// @param[in] callback A <code>PP_CompletionCallback</code> to be called upon 42 /// @param[in] cc A <code>PP_CompletionCallback</code> to be called upon
43 /// completion of Open(). 43 /// completion of Open().
44 /// 44 ///
45 /// @return An int32_t containing an error code from <code>pp_errors.h</code>. 45 /// @return An int32_t containing an error code from <code>pp_errors.h</code>.
46 int32_t Open(int64_t expected_size, const CompletionCallback& cc); 46 int32_t Open(int64_t expected_size, const CompletionCallback& cc);
47 }; 47 };
48 48
49 } // namespace pp 49 } // namespace pp
50 50
51 #endif // PPAPI_CPP_FILE_SYSTEM_H_ 51 #endif // PPAPI_CPP_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/file_ref.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698