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

Side by Side Diff: ppapi/thunk/ppb_file_ref_api.h

Issue 7082036: Convert more interfaces to the new thunk system. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_THUNK_PPB_FILE_REF_API_H_
6 #define PPAPI_THUNK_PPB_FILE_REF_API_H_
7
8 #include "ppapi/c/dev/ppb_file_ref_dev.h"
9
10 namespace ppapi {
11 namespace thunk {
12
13 class PPB_FileRef_API {
14 public:
15 virtual PP_FileSystemType_Dev GetFileSystemType() const = 0;
16 virtual PP_Var GetName() const = 0;
17 virtual PP_Var GetPath() const = 0;
18 virtual PP_Resource GetParent() = 0;
19 virtual int32_t MakeDirectory(PP_Bool make_ancestors,
20 PP_CompletionCallback callback) = 0;
21 virtual int32_t Touch(PP_Time last_access_time,
22 PP_Time last_modified_time,
23 PP_CompletionCallback callback) = 0;
24 virtual int32_t Delete(PP_CompletionCallback callback) = 0;
25 virtual int32_t Rename(PP_Resource new_file_ref,
26 PP_CompletionCallback callback) = 0;
27 };
28
29 } // namespace thunk
30 } // namespace ppapi
31
32 #endif // PPAPI_THUNK_PPB_FILE_REF_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698