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

Side by Side Diff: webkit/fileapi/obfuscated_file_system_file_util.h

Issue 7066033: Enable cross-filesystem moves and copies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Readability tweak from Michael Created 9 years, 7 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 (c) 2011 The Chromium Authors. All rights reserved. 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 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_SYSTEM_FILE_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_OBFUSCATED_FILE_SYSTEM_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_OBFUSCATED_FILE_SYSTEM_FILE_UTIL_H_ 6 #define WEBKIT_FILEAPI_OBFUSCATED_FILE_SYSTEM_FILE_UTIL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 const FilePath& file_path, 83 const FilePath& file_path,
84 bool exclusive, 84 bool exclusive,
85 bool recursive) OVERRIDE; 85 bool recursive) OVERRIDE;
86 86
87 virtual base::PlatformFileError CopyOrMoveFile( 87 virtual base::PlatformFileError CopyOrMoveFile(
88 FileSystemOperationContext* context, 88 FileSystemOperationContext* context,
89 const FilePath& src_file_path, 89 const FilePath& src_file_path,
90 const FilePath& dest_file_path, 90 const FilePath& dest_file_path,
91 bool copy) OVERRIDE; 91 bool copy) OVERRIDE;
92 92
93 virtual PlatformFileError CopyInForeignFile(
94 FileSystemOperationContext* context,
95 const FilePath& src_file_path,
96 const FilePath& dest_file_path) OVERRIDE;
97
93 virtual base::PlatformFileError DeleteFile( 98 virtual base::PlatformFileError DeleteFile(
94 FileSystemOperationContext* context, 99 FileSystemOperationContext* context,
95 const FilePath& file_path) OVERRIDE; 100 const FilePath& file_path) OVERRIDE;
96 101
97 virtual base::PlatformFileError DeleteSingleDirectory( 102 virtual base::PlatformFileError DeleteSingleDirectory(
98 FileSystemOperationContext* context, 103 FileSystemOperationContext* context,
99 const FilePath& file_path) OVERRIDE; 104 const FilePath& file_path) OVERRIDE;
100 105
101 virtual base::PlatformFileError Touch( 106 virtual base::PlatformFileError Touch(
102 FileSystemOperationContext* context, 107 FileSystemOperationContext* context,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 scoped_ptr<FileSystemOriginDatabase> origin_database_; 225 scoped_ptr<FileSystemOriginDatabase> origin_database_;
221 FilePath file_system_directory_; 226 FilePath file_system_directory_;
222 base::OneShotTimer<ObfuscatedFileSystemFileUtil> timer_; 227 base::OneShotTimer<ObfuscatedFileSystemFileUtil> timer_;
223 228
224 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileSystemFileUtil); 229 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileSystemFileUtil);
225 }; 230 };
226 231
227 } // namespace fileapi 232 } // namespace fileapi
228 233
229 #endif // WEBKIT_FILEAPI_OBFUSCATED_FILE_SYSTEM_FILE_UTIL_H_ 234 #endif // WEBKIT_FILEAPI_OBFUSCATED_FILE_SYSTEM_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/local_file_system_file_util.cc ('k') | webkit/fileapi/obfuscated_file_system_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698