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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 class DirectoryReaderBase; | 46 class DirectoryReaderBase; |
47 class EntriesCallback; | 47 class EntriesCallback; |
48 class EntryBase; | 48 class EntryBase; |
49 class EntryCallback; | 49 class EntryCallback; |
50 class ErrorCallback; | 50 class ErrorCallback; |
51 class File; | 51 class File; |
52 class FileError; | 52 class FileError; |
53 class FileMetadata; | 53 struct FileMetadata; |
54 class MetadataCallback; | 54 class MetadataCallback; |
55 class ExecutionContext; | 55 class ExecutionContext; |
56 class SecurityOrigin; | 56 class SecurityOrigin; |
57 class VoidCallback; | 57 class VoidCallback; |
58 | 58 |
59 // A common base class for DOMFileSystem and DOMFileSystemSync. | 59 // A common base class for DOMFileSystem and DOMFileSystemSync. |
60 class DOMFileSystemBase : public GarbageCollectedFinalized<DOMFileSystemBase> { | 60 class DOMFileSystemBase : public GarbageCollectedFinalized<DOMFileSystemBase> { |
61 public: | 61 public: |
62 enum SynchronousType { | 62 enum SynchronousType { |
63 Synchronous, | 63 Synchronous, |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 FileSystemType m_type; | 127 FileSystemType m_type; |
128 KURL m_filesystemRootURL; | 128 KURL m_filesystemRootURL; |
129 bool m_clonable; | 129 bool m_clonable; |
130 }; | 130 }; |
131 | 131 |
132 inline bool operator==(const DOMFileSystemBase& a, const DOMFileSystemBase& b) {
return a.name() == b.name() && a.type() == b.type() && a.rootURL() == b.rootURL
(); } | 132 inline bool operator==(const DOMFileSystemBase& a, const DOMFileSystemBase& b) {
return a.name() == b.name() && a.type() == b.type() && a.rootURL() == b.rootURL
(); } |
133 | 133 |
134 } // namespace blink | 134 } // namespace blink |
135 | 135 |
136 #endif // DOMFileSystemBase_h | 136 #endif // DOMFileSystemBase_h |
OLD | NEW |