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 17 matching lines...) Expand all Loading... |
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 DirectoryReader_h | 31 #ifndef DirectoryReader_h |
32 #define DirectoryReader_h | 32 #define DirectoryReader_h |
33 | 33 |
34 #include "bindings/v8/ScriptWrappable.h" | 34 #include "bindings/v8/ScriptWrappable.h" |
35 #include "modules/filesystem/DOMFileSystem.h" | 35 #include "modules/filesystem/DOMFileSystem.h" |
36 #include "modules/filesystem/DirectoryReaderBase.h" | 36 #include "modules/filesystem/DirectoryReaderBase.h" |
37 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
38 #include "wtf/PassRefPtr.h" | |
39 #include "wtf/RefCounted.h" | 38 #include "wtf/RefCounted.h" |
40 #include "wtf/text/WTFString.h" | 39 #include "wtf/text/WTFString.h" |
41 | 40 |
42 namespace WebCore { | 41 namespace WebCore { |
43 | 42 |
44 class EntriesCallback; | 43 class EntriesCallback; |
45 class EntriesCallbacks; | 44 class EntriesCallbacks; |
46 class ErrorCallback; | 45 class ErrorCallback; |
47 | 46 |
48 class DirectoryReader : public DirectoryReaderBase, public ScriptWrappable { | 47 class DirectoryReader : public DirectoryReaderBase, public ScriptWrappable { |
(...skipping 24 matching lines...) Expand all Loading... |
73 bool m_isReading; | 72 bool m_isReading; |
74 WillBeHeapVector<RefPtrWillBeMember<Entry> > m_entries; | 73 WillBeHeapVector<RefPtrWillBeMember<Entry> > m_entries; |
75 RefPtrWillBeMember<FileError> m_error; | 74 RefPtrWillBeMember<FileError> m_error; |
76 OwnPtr<EntriesCallback> m_entriesCallback; | 75 OwnPtr<EntriesCallback> m_entriesCallback; |
77 OwnPtr<ErrorCallback> m_errorCallback; | 76 OwnPtr<ErrorCallback> m_errorCallback; |
78 }; | 77 }; |
79 | 78 |
80 } | 79 } |
81 | 80 |
82 #endif // DirectoryReader_h | 81 #endif // DirectoryReader_h |
OLD | NEW |