OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_DEV_FILE_REF_DEV_H_ | 5 #ifndef PPAPI_CPP_DEV_FILE_REF_DEV_H_ |
6 #define PPAPI_CPP_DEV_FILE_REF_DEV_H_ | 6 #define PPAPI_CPP_DEV_FILE_REF_DEV_H_ |
7 | 7 |
8 #include "ppapi/c/dev/ppb_file_ref_dev.h" | 8 #include "ppapi/c/dev/ppb_file_ref_dev.h" |
9 #include "ppapi/c/pp_stdint.h" | 9 #include "ppapi/c/pp_stdint.h" |
10 #include "ppapi/cpp/resource.h" | 10 #include "ppapi/cpp/resource.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 Var GetPath() const; | 45 Var GetPath() const; |
46 | 46 |
47 // Returns the parent directory of this file. See PPB_FileRef::GetParent for | 47 // Returns the parent directory of this file. See PPB_FileRef::GetParent for |
48 // more details. | 48 // more details. |
49 FileRef_Dev GetParent() const; | 49 FileRef_Dev GetParent() const; |
50 | 50 |
51 int32_t MakeDirectory(const CompletionCallback& cc); | 51 int32_t MakeDirectory(const CompletionCallback& cc); |
52 | 52 |
53 int32_t MakeDirectoryIncludingAncestors(const CompletionCallback& cc); | 53 int32_t MakeDirectoryIncludingAncestors(const CompletionCallback& cc); |
54 | 54 |
55 int32_t Query(PP_FileInfo_Dev* result_buf, const CompletionCallback& cc); | |
56 | |
57 int32_t Touch(PP_Time last_access_time, | 55 int32_t Touch(PP_Time last_access_time, |
58 PP_Time last_modified_time, | 56 PP_Time last_modified_time, |
59 const CompletionCallback& cc); | 57 const CompletionCallback& cc); |
60 | 58 |
61 int32_t Delete(const CompletionCallback& cc); | 59 int32_t Delete(const CompletionCallback& cc); |
62 | 60 |
63 int32_t Rename(const FileRef_Dev& new_file_ref, const CompletionCallback& cc); | 61 int32_t Rename(const FileRef_Dev& new_file_ref, const CompletionCallback& cc); |
64 }; | 62 }; |
65 | 63 |
66 } // namespace pp | 64 } // namespace pp |
67 | 65 |
68 #endif // PPAPI_CPP_FILE_REF_H_ | 66 #endif // PPAPI_CPP_FILE_REF_H_ |
OLD | NEW |