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

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

Issue 11103031: webkit: Merge blob and fileapi into one build target 'storage' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Leave *.gypi files in blob and fileapi Created 8 years, 2 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_FILE_SYSTEM_FILE_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/file_util_proxy.h" 9 #include "base/file_util_proxy.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/platform_file.h" 11 #include "base/platform_file.h"
12 #include "webkit/fileapi/file_system_url.h" 12 #include "webkit/fileapi/file_system_url.h"
13 #include "webkit/fileapi/fileapi_export.h" 13 #include "webkit/storage/webkit_storage_export.h"
14 14
15 namespace base { 15 namespace base {
16 class Time; 16 class Time;
17 } 17 }
18 18
19 namespace webkit_blob { 19 namespace webkit_blob {
20 class ShareableFileReference; 20 class ShareableFileReference;
21 } 21 }
22 22
23 namespace fileapi { 23 namespace fileapi {
24 24
25 using base::PlatformFile; 25 using base::PlatformFile;
26 using base::PlatformFileError; 26 using base::PlatformFileError;
27 class FileSystemOperationContext; 27 class FileSystemOperationContext;
28 28
29 // A file utility interface that provides basic file utility methods for 29 // A file utility interface that provides basic file utility methods for
30 // FileSystem API. 30 // FileSystem API.
31 // 31 //
32 // Layering structure of the FileSystemFileUtil was split out. 32 // Layering structure of the FileSystemFileUtil was split out.
33 // See http://crbug.com/128136 if you need it. 33 // See http://crbug.com/128136 if you need it.
34 class FILEAPI_EXPORT FileSystemFileUtil { 34 class WEBKIT_STORAGE_EXPORT FileSystemFileUtil {
35 public: 35 public:
36 // It will be implemented by each subclass such as FileSystemFileEnumerator. 36 // It will be implemented by each subclass such as FileSystemFileEnumerator.
37 class AbstractFileEnumerator { 37 class AbstractFileEnumerator {
38 public: 38 public:
39 virtual ~AbstractFileEnumerator() {} 39 virtual ~AbstractFileEnumerator() {}
40 40
41 // Returns an empty string if there are no more results. 41 // Returns an empty string if there are no more results.
42 virtual FilePath Next() = 0; 42 virtual FilePath Next() = 0;
43 43
44 virtual int64 Size() = 0; 44 virtual int64 Size() = 0;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 protected: 201 protected:
202 FileSystemFileUtil() {} 202 FileSystemFileUtil() {}
203 203
204 private: 204 private:
205 DISALLOW_COPY_AND_ASSIGN(FileSystemFileUtil); 205 DISALLOW_COPY_AND_ASSIGN(FileSystemFileUtil);
206 }; 206 };
207 207
208 } // namespace fileapi 208 } // namespace fileapi
209 209
210 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_ 210 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_file_stream_reader.h ('k') | webkit/fileapi/file_system_mount_point_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698