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

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

Issue 22673003: Replace EntryArraySync type by an EntrySync[] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use traits classes to simplify the code Created 7 years, 4 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
Index: Source/modules/filesystem/DirectoryReaderSync.h
diff --git a/Source/modules/filesystem/DirectoryReaderSync.h b/Source/modules/filesystem/DirectoryReaderSync.h
index 814a72d635c7bf648472dd7badc8e5407ecef610..1ecdf82a4d59c93b536d6ee44decc15a3e8f990d 100644
--- a/Source/modules/filesystem/DirectoryReaderSync.h
+++ b/Source/modules/filesystem/DirectoryReaderSync.h
@@ -35,13 +35,16 @@
#include "modules/filesystem/DirectoryReaderBase.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
+#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
-class EntryArraySync;
+class EntrySync;
class ExceptionState;
+typedef Vector<RefPtr<EntrySync> > EntrySyncVector;
+
class DirectoryReaderSync : public DirectoryReaderBase, public ScriptWrappable {
public:
static PassRefPtr<DirectoryReaderSync> create(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
@@ -49,7 +52,7 @@ public:
return adoptRef(new DirectoryReaderSync(fileSystem, fullPath));
}
- PassRefPtr<EntryArraySync> readEntries(ExceptionState&);
+ EntrySyncVector readEntries(ExceptionState&);
private:
DirectoryReaderSync(PassRefPtr<DOMFileSystemBase>, const String& fullPath);

Powered by Google App Engine
This is Rietveld 408576698