OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 15 matching lines...) Expand all Loading... |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef DOMFileSystemBase_h | 31 #ifndef DOMFileSystemBase_h |
32 #define DOMFileSystemBase_h | 32 #define DOMFileSystemBase_h |
33 | 33 |
34 #include "modules/filesystem/FileSystemFlags.h" | 34 #include "modules/filesystem/FileSystemFlags.h" |
35 #include "platform/FileSystemType.h" | 35 #include "platform/FileSystemType.h" |
36 #include "platform/heap/Handle.h" | |
37 #include "platform/weborigin/KURL.h" | 36 #include "platform/weborigin/KURL.h" |
38 #include "wtf/text/WTFString.h" | |
39 | 37 |
40 namespace blink { | 38 namespace blink { |
41 class WebFileSystem; | 39 class WebFileSystem; |
42 } | 40 } |
43 | 41 |
44 namespace blink { | 42 namespace blink { |
45 | 43 |
46 class DirectoryEntry; | |
47 class DirectoryReaderBase; | 44 class DirectoryReaderBase; |
48 class EntriesCallback; | 45 class EntriesCallback; |
49 class EntryBase; | 46 class EntryBase; |
50 class EntryCallback; | 47 class EntryCallback; |
51 class ErrorCallback; | 48 class ErrorCallback; |
52 class File; | 49 class File; |
53 class FileError; | 50 class FileError; |
54 struct FileMetadata; | 51 struct FileMetadata; |
55 class MetadataCallback; | 52 class MetadataCallback; |
56 class ExecutionContext; | 53 class ExecutionContext; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 FileSystemType m_type; | 125 FileSystemType m_type; |
129 KURL m_filesystemRootURL; | 126 KURL m_filesystemRootURL; |
130 bool m_clonable; | 127 bool m_clonable; |
131 }; | 128 }; |
132 | 129 |
133 inline bool operator==(const DOMFileSystemBase& a, const DOMFileSystemBase& b) {
return a.name() == b.name() && a.type() == b.type() && a.rootURL() == b.rootURL
(); } | 130 inline bool operator==(const DOMFileSystemBase& a, const DOMFileSystemBase& b) {
return a.name() == b.name() && a.type() == b.type() && a.rootURL() == b.rootURL
(); } |
134 | 131 |
135 } // namespace blink | 132 } // namespace blink |
136 | 133 |
137 #endif // DOMFileSystemBase_h | 134 #endif // DOMFileSystemBase_h |
OLD | NEW |