| Index: Source/modules/filesystem/DOMFileSystemBase.h
|
| diff --git a/Source/modules/filesystem/DOMFileSystemBase.h b/Source/modules/filesystem/DOMFileSystemBase.h
|
| index e5121ec453f9a62372d3626f16438a8f9545272f..7e6d1d1caad99bdf443608f43f8a30d194e9dbbe 100644
|
| --- a/Source/modules/filesystem/DOMFileSystemBase.h
|
| +++ b/Source/modules/filesystem/DOMFileSystemBase.h
|
| @@ -31,6 +31,7 @@
|
| #ifndef DOMFileSystemBase_h
|
| #define DOMFileSystemBase_h
|
|
|
| +#include "heap/Handle.h"
|
| #include "modules/filesystem/FileSystemFlags.h"
|
| #include "platform/FileSystemType.h"
|
| #include "platform/weborigin/KURL.h"
|
| @@ -57,7 +58,7 @@ class SecurityOrigin;
|
| class VoidCallback;
|
|
|
| // A common base class for DOMFileSystem and DOMFileSystemSync.
|
| -class DOMFileSystemBase : public RefCounted<DOMFileSystemBase> {
|
| +class DOMFileSystemBase : public RefCountedWillBeRefCountedGarbageCollected<DOMFileSystemBase> {
|
| public:
|
| enum SynchronousType {
|
| Synchronous,
|
| @@ -112,9 +113,11 @@ public:
|
| void getParent(const EntryBase*, PassOwnPtr<EntryCallback>, PassOwnPtr<ErrorCallback>);
|
| void getFile(const EntryBase*, const String& path, const FileSystemFlags&, PassOwnPtr<EntryCallback>, PassOwnPtr<ErrorCallback>, SynchronousType = Asynchronous);
|
| void getDirectory(const EntryBase*, const String& path, const FileSystemFlags&, PassOwnPtr<EntryCallback>, PassOwnPtr<ErrorCallback>, SynchronousType = Asynchronous);
|
| - int readDirectory(PassRefPtr<DirectoryReaderBase>, const String& path, PassOwnPtr<EntriesCallback>, PassOwnPtr<ErrorCallback>, SynchronousType = Asynchronous);
|
| + bool readDirectory(PassRefPtrWillBeRawPtr<DirectoryReaderBase>, const String& path, PassOwnPtr<EntriesCallback>, PassOwnPtr<ErrorCallback>, SynchronousType = Asynchronous);
|
| bool waitForAdditionalResult(int callbacksId);
|
|
|
| + virtual void trace(Visitor*) { }
|
| +
|
| protected:
|
| DOMFileSystemBase(ExecutionContext*, const String& name, FileSystemType, const KURL& rootURL);
|
| friend class DOMFileSystemSync;
|
|
|