OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
nfullagar
2011/06/21 20:15:23
2011
Sang Ahn
2011/06/21 20:41:08
Done.
| |
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_DEV_FILE_SYSTEM_DEV_H_ | 5 #ifndef PPAPI_CPP_FILE_SYSTEM_H_ |
6 #define PPAPI_CPP_DEV_FILE_SYSTEM_DEV_H_ | 6 #define PPAPI_CPP_FILE_SYSTEM_H_ |
7 | 7 |
8 #include "ppapi/c/dev/pp_file_info_dev.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 struct PP_FileInfo_Dev; | 15 struct PP_FileInfo; |
16 | 16 |
17 namespace pp { | 17 namespace pp { |
18 | 18 |
19 class CompletionCallback; | 19 class CompletionCallback; |
20 class FileRef_Dev; | 20 class FileRef; |
21 | 21 |
22 // Wraps methods from ppb_file_system.h | 22 // Wraps methods from ppb_file_system.h |
23 class FileSystem_Dev : public Resource { | 23 class FileSystem : public Resource { |
24 public: | 24 public: |
25 FileSystem_Dev(Instance* instance, PP_FileSystemType_Dev type); | 25 FileSystem(Instance* instance, PP_FileSystemType type); |
26 | 26 |
27 int32_t Open(int64_t expected_size, const CompletionCallback& cc); | 27 int32_t Open(int64_t expected_size, const CompletionCallback& cc); |
28 }; | 28 }; |
29 | 29 |
30 } // namespace pp | 30 } // namespace pp |
31 | 31 |
32 #endif // PPAPI_CPP_DEV_FILE_SYSTEM_DEV_H_ | 32 #endif // PPAPI_CPP_FILE_SYSTEM_H_ |
OLD | NEW |