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

Side by Side Diff: ppapi/proxy/file_ref_resource.h

Issue 113363004: PPAPI: Add new PPB_FileRef.MakeDirectory to support exclusive operation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PROXY_PPB_FILE_REF_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_FILE_REF_PROXY_H_
6 #define PPAPI_PROXY_PPB_FILE_REF_PROXY_H_ 6 #define PPAPI_PROXY_PPB_FILE_REF_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 24 matching lines...) Expand all
35 35
36 // Resource implementation. 36 // Resource implementation.
37 virtual thunk::PPB_FileRef_API* AsPPB_FileRef_API() OVERRIDE; 37 virtual thunk::PPB_FileRef_API* AsPPB_FileRef_API() OVERRIDE;
38 38
39 // PPB_FileRef_API implementation. 39 // PPB_FileRef_API implementation.
40 virtual PP_FileSystemType GetFileSystemType() const OVERRIDE; 40 virtual PP_FileSystemType GetFileSystemType() const OVERRIDE;
41 virtual PP_Var GetName() const OVERRIDE; 41 virtual PP_Var GetName() const OVERRIDE;
42 virtual PP_Var GetPath() const OVERRIDE; 42 virtual PP_Var GetPath() const OVERRIDE;
43 virtual PP_Resource GetParent() OVERRIDE; 43 virtual PP_Resource GetParent() OVERRIDE;
44 virtual int32_t MakeDirectory( 44 virtual int32_t MakeDirectory(
45 PP_Bool make_ancestors, 45 int32_t make_directory_flags,
46 scoped_refptr<TrackedCallback> callback) OVERRIDE; 46 scoped_refptr<TrackedCallback> callback) OVERRIDE;
47 virtual int32_t Touch(PP_Time last_access_time, 47 virtual int32_t Touch(PP_Time last_access_time,
48 PP_Time last_modified_time, 48 PP_Time last_modified_time,
49 scoped_refptr<TrackedCallback> callback) OVERRIDE; 49 scoped_refptr<TrackedCallback> callback) OVERRIDE;
50 virtual int32_t Delete(scoped_refptr<TrackedCallback> callback) OVERRIDE; 50 virtual int32_t Delete(scoped_refptr<TrackedCallback> callback) OVERRIDE;
51 virtual int32_t Rename(PP_Resource new_file_ref, 51 virtual int32_t Rename(PP_Resource new_file_ref,
52 scoped_refptr<TrackedCallback> callback) OVERRIDE; 52 scoped_refptr<TrackedCallback> callback) OVERRIDE;
53 virtual int32_t Query(PP_FileInfo* info, 53 virtual int32_t Query(PP_FileInfo* info,
54 scoped_refptr<TrackedCallback> callback) OVERRIDE; 54 scoped_refptr<TrackedCallback> callback) OVERRIDE;
55 virtual int32_t ReadDirectoryEntries( 55 virtual int32_t ReadDirectoryEntries(
56 const PP_ArrayOutput& output, 56 const PP_ArrayOutput& output,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 scoped_refptr<StringVar> path_var_; 92 scoped_refptr<StringVar> path_var_;
93 scoped_refptr<StringVar> absolute_path_var_; 93 scoped_refptr<StringVar> absolute_path_var_;
94 94
95 DISALLOW_COPY_AND_ASSIGN(FileRefResource); 95 DISALLOW_COPY_AND_ASSIGN(FileRefResource);
96 }; 96 };
97 97
98 } // namespace proxy 98 } // namespace proxy
99 } // namespace ppapi 99 } // namespace ppapi
100 100
101 #endif // PPAPI_PROXY_PPB_FILE_REF_PROXY_H_ 101 #endif // PPAPI_PROXY_PPB_FILE_REF_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c ('k') | ppapi/proxy/file_ref_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698