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

Side by Side Diff: webkit/fileapi/async_file_util.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_ASYNC_FILE_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_ASYNC_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_ASYNC_FILE_UTIL_H_ 6 #define WEBKIT_FILEAPI_ASYNC_FILE_UTIL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "base/files/file_util_proxy.h" 10 #include "base/files/file_util_proxy.h"
11 #include "base/platform_file.h" 11 #include "base/platform_file.h"
12 #include "webkit/fileapi/directory_entry.h"
12 #include "webkit/storage/webkit_storage_export.h" 13 #include "webkit/storage/webkit_storage_export.h"
13 14
14 namespace base { 15 namespace base {
15 class Time; 16 class Time;
16 } 17 }
17 18
18 namespace webkit_blob { 19 namespace webkit_blob {
19 class ShareableFileReference; 20 class ShareableFileReference;
20 } 21 }
21 22
(...skipping 18 matching lines...) Expand all
40 41
41 typedef base::Callback< 42 typedef base::Callback<
42 void(base::PlatformFileError result, 43 void(base::PlatformFileError result,
43 bool created)> EnsureFileExistsCallback; 44 bool created)> EnsureFileExistsCallback;
44 45
45 typedef base::Callback< 46 typedef base::Callback<
46 void(base::PlatformFileError result, 47 void(base::PlatformFileError result,
47 const base::PlatformFileInfo& file_info, 48 const base::PlatformFileInfo& file_info,
48 const base::FilePath& platform_path)> GetFileInfoCallback; 49 const base::FilePath& platform_path)> GetFileInfoCallback;
49 50
50 typedef base::FileUtilProxy::Entry Entry; 51 typedef std::vector<DirectoryEntry> EntryList;
51 typedef std::vector<base::FileUtilProxy::Entry> EntryList;
52 typedef base::Callback< 52 typedef base::Callback<
53 void(base::PlatformFileError result, 53 void(base::PlatformFileError result,
54 const EntryList& file_list, 54 const EntryList& file_list,
55 bool has_more)> ReadDirectoryCallback; 55 bool has_more)> ReadDirectoryCallback;
56 56
57 typedef base::Callback< 57 typedef base::Callback<
58 void(base::PlatformFileError result, 58 void(base::PlatformFileError result,
59 const base::PlatformFileInfo& file_info, 59 const base::PlatformFileInfo& file_info,
60 const base::FilePath& platform_path, 60 const base::FilePath& platform_path,
61 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref 61 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 const FileSystemURL& url, 329 const FileSystemURL& url,
330 const CreateSnapshotFileCallback& callback) = 0; 330 const CreateSnapshotFileCallback& callback) = 0;
331 331
332 private: 332 private:
333 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtil); 333 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtil);
334 }; 334 };
335 335
336 } // namespace fileapi 336 } // namespace fileapi
337 337
338 #endif // WEBKIT_FILEAPI_ASYNC_FILE_UTIL_H_ 338 #endif // WEBKIT_FILEAPI_ASYNC_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/chromeos/fileapi/remote_file_system_operation.cc ('k') | webkit/fileapi/async_file_util_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698