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_OBFUSCATED_FILE_UTIL_H_ | 5 #ifndef WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_ |
6 #define WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_ | 6 #define WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 FilePath* local_path) OVERRIDE; | 91 FilePath* local_path) OVERRIDE; |
92 virtual base::PlatformFileError Touch( | 92 virtual base::PlatformFileError Touch( |
93 FileSystemOperationContext* context, | 93 FileSystemOperationContext* context, |
94 const FileSystemURL& url, | 94 const FileSystemURL& url, |
95 const base::Time& last_access_time, | 95 const base::Time& last_access_time, |
96 const base::Time& last_modified_time) OVERRIDE; | 96 const base::Time& last_modified_time) OVERRIDE; |
97 virtual base::PlatformFileError Truncate( | 97 virtual base::PlatformFileError Truncate( |
98 FileSystemOperationContext* context, | 98 FileSystemOperationContext* context, |
99 const FileSystemURL& url, | 99 const FileSystemURL& url, |
100 int64 length) OVERRIDE; | 100 int64 length) OVERRIDE; |
101 virtual bool PathExists( | |
102 FileSystemOperationContext* context, | |
103 const FileSystemURL& url) OVERRIDE; | |
104 virtual bool DirectoryExists( | |
105 FileSystemOperationContext* context, | |
106 const FileSystemURL& url) OVERRIDE; | |
107 virtual bool IsDirectoryEmpty( | 101 virtual bool IsDirectoryEmpty( |
108 FileSystemOperationContext* context, | 102 FileSystemOperationContext* context, |
109 const FileSystemURL& url) OVERRIDE; | 103 const FileSystemURL& url) OVERRIDE; |
110 virtual base::PlatformFileError CopyOrMoveFile( | 104 virtual base::PlatformFileError CopyOrMoveFile( |
111 FileSystemOperationContext* context, | 105 FileSystemOperationContext* context, |
112 const FileSystemURL& src_url, | 106 const FileSystemURL& src_url, |
113 const FileSystemURL& dest_url, | 107 const FileSystemURL& dest_url, |
114 bool copy) OVERRIDE; | 108 bool copy) OVERRIDE; |
115 virtual PlatformFileError CopyInForeignFile( | 109 virtual PlatformFileError CopyInForeignFile( |
116 FileSystemOperationContext* context, | 110 FileSystemOperationContext* context, |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 scoped_ptr<FileSystemOriginDatabase> origin_database_; | 251 scoped_ptr<FileSystemOriginDatabase> origin_database_; |
258 FilePath file_system_directory_; | 252 FilePath file_system_directory_; |
259 base::OneShotTimer<ObfuscatedFileUtil> timer_; | 253 base::OneShotTimer<ObfuscatedFileUtil> timer_; |
260 | 254 |
261 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil); | 255 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil); |
262 }; | 256 }; |
263 | 257 |
264 } // namespace fileapi | 258 } // namespace fileapi |
265 | 259 |
266 #endif // WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_ | 260 #endif // WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_ |
OLD | NEW |