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

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

Issue 14671020: FileAPI: Copy base::FileUtilProxy::Entry to fileapi::DirectoryEntry (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build and remove base/ change Created 7 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) 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_SYSTEM_OPERATION_H_ 5 #ifndef WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_
6 #define WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_ 6 #define WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 void DidFileExists(const StatusCallback& callback, 259 void DidFileExists(const StatusCallback& callback,
260 base::PlatformFileError rv, 260 base::PlatformFileError rv,
261 const base::PlatformFileInfo& file_info, 261 const base::PlatformFileInfo& file_info,
262 const base::FilePath& unused); 262 const base::FilePath& unused);
263 void DidGetMetadata(const GetMetadataCallback& callback, 263 void DidGetMetadata(const GetMetadataCallback& callback,
264 base::PlatformFileError rv, 264 base::PlatformFileError rv,
265 const base::PlatformFileInfo& file_info, 265 const base::PlatformFileInfo& file_info,
266 const base::FilePath& platform_path); 266 const base::FilePath& platform_path);
267 void DidReadDirectory(const ReadDirectoryCallback& callback, 267 void DidReadDirectory(const ReadDirectoryCallback& callback,
268 base::PlatformFileError rv, 268 base::PlatformFileError rv,
269 const std::vector<base::FileUtilProxy::Entry>& entries, 269 const std::vector<DirectoryEntry>& entries,
270 bool has_more); 270 bool has_more);
271 void DidWrite(const FileSystemURL& url, 271 void DidWrite(const FileSystemURL& url,
272 base::PlatformFileError rv, 272 base::PlatformFileError rv,
273 int64 bytes, 273 int64 bytes,
274 FileWriterDelegate::WriteProgressStatus write_status); 274 FileWriterDelegate::WriteProgressStatus write_status);
275 void DidTouchFile(const StatusCallback& callback, 275 void DidTouchFile(const StatusCallback& callback,
276 base::PlatformFileError rv); 276 base::PlatformFileError rv);
277 void DidOpenFile(const OpenFileCallback& callback, 277 void DidOpenFile(const OpenFileCallback& callback,
278 base::PlatformFileError rv, 278 base::PlatformFileError rv,
279 base::PassPlatformFile file, 279 base::PassPlatformFile file,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 // LocalFileSystemOperation instance is usually deleted upon completion but 332 // LocalFileSystemOperation instance is usually deleted upon completion but
333 // could be deleted while it has inflight callbacks when Cancel is called. 333 // could be deleted while it has inflight callbacks when Cancel is called.
334 base::WeakPtrFactory<LocalFileSystemOperation> weak_factory_; 334 base::WeakPtrFactory<LocalFileSystemOperation> weak_factory_;
335 335
336 DISALLOW_COPY_AND_ASSIGN(LocalFileSystemOperation); 336 DISALLOW_COPY_AND_ASSIGN(LocalFileSystemOperation);
337 }; 337 };
338 338
339 } // namespace fileapi 339 } // namespace fileapi
340 340
341 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_ 341 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/isolated_file_util_unittest.cc ('k') | webkit/fileapi/local_file_system_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698