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

Side by Side Diff: ppapi/c/dev/ppb_file_ref_dev.h

Issue 5129001: Kill a #if 0 section as discussed in the meeting. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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 | « no previous file | 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) 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_C_DEV_PPB_FILE_REF_DEV_H_ 5 #ifndef PPAPI_C_DEV_PPB_FILE_REF_DEV_H_
6 #define PPAPI_C_DEV_PPB_FILE_REF_DEV_H_ 6 #define PPAPI_C_DEV_PPB_FILE_REF_DEV_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/dev/pp_file_info_dev.h" 9 #include "ppapi/c/dev/pp_file_info_dev.h"
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 int32_t (*Delete)(PP_Resource file_ref, 68 int32_t (*Delete)(PP_Resource file_ref,
69 struct PP_CompletionCallback callback); 69 struct PP_CompletionCallback callback);
70 70
71 // Rename a file or directory. file_ref and new_file_ref must both refer to 71 // Rename a file or directory. file_ref and new_file_ref must both refer to
72 // files in the same filesystem. It is an error to rename a file or 72 // files in the same filesystem. It is an error to rename a file or
73 // directory that is in use. It is not valid to rename a file in the 73 // directory that is in use. It is not valid to rename a file in the
74 // external filesystem. 74 // external filesystem.
75 int32_t (*Rename)(PP_Resource file_ref, 75 int32_t (*Rename)(PP_Resource file_ref,
76 PP_Resource new_file_ref, 76 PP_Resource new_file_ref,
77 struct PP_CompletionCallback callback); 77 struct PP_CompletionCallback callback);
78
79 // TODO(darin): Add these conversion routines.
80 #if 0
81 // Convert a DOM File object to a FileRef object.
82 PP_Resource (*FromFileObject)(PP_Var file_object);
83
84 // Convert a FileRef object to a DOM File object.
85 PP_Var (*ToFileObject)(PP_Resource file_ref);
86 #endif
87 }; 78 };
88 79
89 #endif // PPAPI_C_DEV_PPB_FILE_REF_DEV_H_ 80 #endif // PPAPI_C_DEV_PPB_FILE_REF_DEV_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698