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

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

Issue 8527020: Cleanup: Remove unneeded forward declarations in ppapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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) 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"
11 #include "ppapi/c/pp_time.h" 11 #include "ppapi/c/pp_time.h"
12 #include "ppapi/cpp/instance.h" 12 #include "ppapi/cpp/instance.h"
13 #include "ppapi/cpp/resource.h" 13 #include "ppapi/cpp/resource.h"
14 14
15 /// @file 15 /// @file
16 /// This file defines the API to create a file system associated with a file. 16 /// This file defines the API to create a file system associated with a file.
17 17
18 struct PP_FileInfo; 18 struct PP_FileInfo;
19 19
20 namespace pp { 20 namespace pp {
21 21
22 class CompletionCallback; 22 class CompletionCallback;
23 class FileRef;
24 23
25 /// The <code>FileSystem</code> class identifies the file system type 24 /// The <code>FileSystem</code> class identifies the file system type
26 /// associated with a file. 25 /// associated with a file.
27 class FileSystem : public Resource { 26 class FileSystem : public Resource {
28 public: 27 public:
29 /// Constructs an is_null() filesystem resource. If you use this constructor, 28 /// Constructs an is_null() filesystem resource. If you use this constructor,
30 /// you will have to assign it to a "real" FileSystem object before you can 29 /// you will have to assign it to a "real" FileSystem object before you can
31 /// use it. 30 /// use it.
32 FileSystem(); 31 FileSystem();
33 32
(...skipping 12 matching lines...) Expand all
46 /// @param[in] cc A <code>PP_CompletionCallback</code> to be called upon 45 /// @param[in] cc A <code>PP_CompletionCallback</code> to be called upon
47 /// completion of Open(). 46 /// completion of Open().
48 /// 47 ///
49 /// @return An int32_t containing an error code from <code>pp_errors.h</code>. 48 /// @return An int32_t containing an error code from <code>pp_errors.h</code>.
50 int32_t Open(int64_t expected_size, const CompletionCallback& cc); 49 int32_t Open(int64_t expected_size, const CompletionCallback& cc);
51 }; 50 };
52 51
53 } // namespace pp 52 } // namespace pp
54 53
55 #endif // PPAPI_CPP_FILE_SYSTEM_H_ 54 #endif // PPAPI_CPP_FILE_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698