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

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
« no previous file with comments | « ppapi/cpp/dev/widget_dev.h ('k') | ppapi/cpp/graphics_3d.h » ('j') | 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"
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;
19
20 namespace pp { 18 namespace pp {
21 19
22 class CompletionCallback; 20 class CompletionCallback;
23 class FileRef;
24 21
25 /// The <code>FileSystem</code> class identifies the file system type 22 /// The <code>FileSystem</code> class identifies the file system type
26 /// associated with a file. 23 /// associated with a file.
27 class FileSystem : public Resource { 24 class FileSystem : public Resource {
28 public: 25 public:
29 /// Constructs an is_null() filesystem resource. If you use this constructor, 26 /// 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 27 /// you will have to assign it to a "real" FileSystem object before you can
31 /// use it. 28 /// use it.
32 FileSystem(); 29 FileSystem();
33 30
(...skipping 12 matching lines...) Expand all
46 /// @param[in] cc A <code>PP_CompletionCallback</code> to be called upon 43 /// @param[in] cc A <code>PP_CompletionCallback</code> to be called upon
47 /// completion of Open(). 44 /// completion of Open().
48 /// 45 ///
49 /// @return An int32_t containing an error code from <code>pp_errors.h</code>. 46 /// @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); 47 int32_t Open(int64_t expected_size, const CompletionCallback& cc);
51 }; 48 };
52 49
53 } // namespace pp 50 } // namespace pp
54 51
55 #endif // PPAPI_CPP_FILE_SYSTEM_H_ 52 #endif // PPAPI_CPP_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/widget_dev.h ('k') | ppapi/cpp/graphics_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698