OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WEBKIT_FILEAPI_LOCAL_FILE_UTIL_H_ | 5 #ifndef WEBKIT_FILEAPI_LOCAL_FILE_UTIL_H_ |
6 #define WEBKIT_FILEAPI_LOCAL_FILE_UTIL_H_ | 6 #define WEBKIT_FILEAPI_LOCAL_FILE_UTIL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 FilePath* local_file_path) OVERRIDE; | 72 FilePath* local_file_path) OVERRIDE; |
73 virtual PlatformFileError Touch( | 73 virtual PlatformFileError Touch( |
74 FileSystemOperationContext* context, | 74 FileSystemOperationContext* context, |
75 const FileSystemURL& url, | 75 const FileSystemURL& url, |
76 const base::Time& last_access_time, | 76 const base::Time& last_access_time, |
77 const base::Time& last_modified_time) OVERRIDE; | 77 const base::Time& last_modified_time) OVERRIDE; |
78 virtual PlatformFileError Truncate( | 78 virtual PlatformFileError Truncate( |
79 FileSystemOperationContext* context, | 79 FileSystemOperationContext* context, |
80 const FileSystemURL& url, | 80 const FileSystemURL& url, |
81 int64 length) OVERRIDE; | 81 int64 length) OVERRIDE; |
82 virtual bool PathExists( | |
83 FileSystemOperationContext* context, | |
84 const FileSystemURL& url) OVERRIDE; | |
85 virtual bool DirectoryExists( | |
86 FileSystemOperationContext* context, | |
87 const FileSystemURL& url) OVERRIDE; | |
88 virtual bool IsDirectoryEmpty( | 82 virtual bool IsDirectoryEmpty( |
89 FileSystemOperationContext* context, | 83 FileSystemOperationContext* context, |
90 const FileSystemURL& url) OVERRIDE; | 84 const FileSystemURL& url) OVERRIDE; |
91 virtual PlatformFileError CopyOrMoveFile( | 85 virtual PlatformFileError CopyOrMoveFile( |
92 FileSystemOperationContext* context, | 86 FileSystemOperationContext* context, |
93 const FileSystemURL& src_url, | 87 const FileSystemURL& src_url, |
94 const FileSystemURL& dest_url, | 88 const FileSystemURL& dest_url, |
95 bool copy) OVERRIDE; | 89 bool copy) OVERRIDE; |
96 virtual PlatformFileError CopyInForeignFile( | 90 virtual PlatformFileError CopyInForeignFile( |
97 FileSystemOperationContext* context, | 91 FileSystemOperationContext* context, |
(...skipping 18 matching lines...) Expand all Loading... |
116 FileSystemURL GetLocalPath( | 110 FileSystemURL GetLocalPath( |
117 FileSystemOperationContext* context, | 111 FileSystemOperationContext* context, |
118 const FileSystemURL& url); | 112 const FileSystemURL& url); |
119 | 113 |
120 DISALLOW_COPY_AND_ASSIGN(LocalFileUtil); | 114 DISALLOW_COPY_AND_ASSIGN(LocalFileUtil); |
121 }; | 115 }; |
122 | 116 |
123 } // namespace fileapi | 117 } // namespace fileapi |
124 | 118 |
125 #endif // WEBKIT_FILEAPI_LOCAL_FILE_UTIL_H_ | 119 #endif // WEBKIT_FILEAPI_LOCAL_FILE_UTIL_H_ |
OLD | NEW |