Chromium Code Reviews| Index: Source/modules/filesystem/DirectoryReader.h |
| diff --git a/Source/modules/filesystem/DirectoryReader.h b/Source/modules/filesystem/DirectoryReader.h |
| index 7ec604d2718eb849c391053269e24348f9c07562..a86532f9345022aa01630ad7af3df4422b55a804 100644 |
| --- a/Source/modules/filesystem/DirectoryReader.h |
| +++ b/Source/modules/filesystem/DirectoryReader.h |
| @@ -56,7 +56,20 @@ public: |
| DOMFileSystem* filesystem() const { return static_cast<DOMFileSystem*>(m_fileSystem.get()); } |
| private: |
| + class EntriesCallbackHelper; |
| + class ErrorCallbackHelper; |
| + |
| DirectoryReader(PassRefPtr<DOMFileSystemBase>, const String& fullPath); |
| + |
| + void addEntries(const Vector<RefPtr<Entry> >& entries); |
| + |
| + void onError(FileError*); |
| + |
| + bool m_isReading; |
| + Vector<RefPtr<Entry> > m_entries; |
| + RefPtr<FileError> m_error; |
|
haraken
2014/03/10 03:54:12
Since FileError is on the oilpan heap, this should
hashimoto
2014/03/10 04:46:15
Thank you for the fix!
It seems that what I shoul
|
| + OwnPtr<EntriesCallback> m_entriesCallback; |
| + OwnPtr<ErrorCallback> m_errorCallback; |
| }; |
| } |