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

Side by Side Diff: webkit/fileapi/local_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
« no previous file with comments | « webkit/fileapi/file_system_operation.cc ('k') | webkit/fileapi/local_file_system_file_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_LOCAL_FILE_SYSTEM_FILE_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_ 6 #define WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const FilePath& file_path, 70 const FilePath& file_path,
71 bool exclusive, 71 bool exclusive,
72 bool recursive); 72 bool recursive);
73 73
74 virtual PlatformFileError CopyOrMoveFile( 74 virtual PlatformFileError CopyOrMoveFile(
75 FileSystemOperationContext* context, 75 FileSystemOperationContext* context,
76 const FilePath& src_file_path, 76 const FilePath& src_file_path,
77 const FilePath& dest_file_path, 77 const FilePath& dest_file_path,
78 bool copy); 78 bool copy);
79 79
80 virtual PlatformFileError CopyInForeignFile(
81 FileSystemOperationContext* context,
82 const FilePath& src_file_path,
83 const FilePath& dest_file_path);
84
80 virtual PlatformFileError DeleteFile( 85 virtual PlatformFileError DeleteFile(
81 FileSystemOperationContext* context, 86 FileSystemOperationContext* context,
82 const FilePath& file_path); 87 const FilePath& file_path);
83 88
84 virtual PlatformFileError DeleteSingleDirectory( 89 virtual PlatformFileError DeleteSingleDirectory(
85 FileSystemOperationContext* context, 90 FileSystemOperationContext* context,
86 const FilePath& file_path); 91 const FilePath& file_path);
87 92
88 virtual PlatformFileError Touch( 93 virtual PlatformFileError Touch(
89 FileSystemOperationContext* context, 94 FileSystemOperationContext* context,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 FilePath GetLocalPath( 129 FilePath GetLocalPath(
125 FileSystemOperationContext* context, 130 FileSystemOperationContext* context,
126 const GURL& origin_url, 131 const GURL& origin_url,
127 FileSystemType type, 132 FileSystemType type,
128 const FilePath& virtual_path); 133 const FilePath& virtual_path);
129 }; 134 };
130 135
131 } // namespace fileapi 136 } // namespace fileapi
132 137
133 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_ 138 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_operation.cc ('k') | webkit/fileapi/local_file_system_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698