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 16 matching lines...) Expand all Loading... |
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 FileSystemCallbacks_h | 31 #ifndef FileSystemCallbacks_h |
32 #define FileSystemCallbacks_h | 32 #define FileSystemCallbacks_h |
33 | 33 |
34 #include "modules/filesystem/EntriesCallback.h" | 34 #include "modules/filesystem/EntriesCallback.h" |
35 #include "platform/AsyncFileSystemCallbacks.h" | 35 #include "platform/AsyncFileSystemCallbacks.h" |
36 #include "platform/FileSystemType.h" | 36 #include "platform/FileSystemType.h" |
37 #include "wtf/PassRefPtr.h" | |
38 #include "wtf/Vector.h" | 37 #include "wtf/Vector.h" |
39 #include "wtf/text/WTFString.h" | 38 #include "wtf/text/WTFString.h" |
40 | 39 |
41 namespace WebCore { | 40 namespace WebCore { |
42 | 41 |
43 class DOMFileSystemBase; | 42 class DOMFileSystemBase; |
44 class DirectoryReaderBase; | 43 class DirectoryReaderBase; |
45 class EntriesCallback; | 44 class EntriesCallback; |
46 class EntryCallback; | 45 class EntryCallback; |
47 class ErrorCallback; | 46 class ErrorCallback; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 virtual void didSucceed() OVERRIDE; | 145 virtual void didSucceed() OVERRIDE; |
147 | 146 |
148 private: | 147 private: |
149 VoidCallbacks(PassOwnPtr<VoidCallback>, PassOwnPtr<ErrorCallback>, PassRefPt
rWillBeRawPtr<DOMFileSystemBase>); | 148 VoidCallbacks(PassOwnPtr<VoidCallback>, PassOwnPtr<ErrorCallback>, PassRefPt
rWillBeRawPtr<DOMFileSystemBase>); |
150 OwnPtr<VoidCallback> m_successCallback; | 149 OwnPtr<VoidCallback> m_successCallback; |
151 }; | 150 }; |
152 | 151 |
153 } // namespace | 152 } // namespace |
154 | 153 |
155 #endif // FileSystemCallbacks_h | 154 #endif // FileSystemCallbacks_h |
OLD | NEW |