Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: Source/modules/filesystem/DirectoryReader.h

Issue 178333009: Handle has_more correctly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add comments Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/filesystem/DOMFileSystemBase.cpp ('k') | Source/modules/filesystem/DirectoryReader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DirectoryReader.h
diff --git a/Source/modules/filesystem/DirectoryReader.h b/Source/modules/filesystem/DirectoryReader.h
index 7ec604d2718eb849c391053269e24348f9c07562..8ad46f879b89fb9f4df957a436b1b3563f16be0f 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;
tkent 2014/03/07 06:10:27 Too many spaces between > and >
hashimoto 2014/03/07 07:12:11 Good catch, thanks. Done.
+ RefPtr<FileError> m_error;
+ OwnPtr<EntriesCallback> m_entriesCallback;
+ OwnPtr<ErrorCallback> m_errorCallback;
};
}
« no previous file with comments | « Source/modules/filesystem/DOMFileSystemBase.cpp ('k') | Source/modules/filesystem/DirectoryReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698