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

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

Issue 314333002: Enable Oilpan by default in modules/filesystem/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove consts from conversion ctor + copy assignment op Created 6 years, 6 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/DirectoryEntrySync.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 8f2a59586644221b5f5e093e9ac1e9eafe34635c..218c18cf69443d7c5065ad45104f6447ad1629b9 100644
--- a/Source/modules/filesystem/DirectoryReader.h
+++ b/Source/modules/filesystem/DirectoryReader.h
@@ -34,21 +34,19 @@
#include "bindings/v8/ScriptWrappable.h"
#include "modules/filesystem/DOMFileSystem.h"
#include "modules/filesystem/DirectoryReaderBase.h"
+#include "modules/filesystem/EntriesCallback.h"
#include "platform/heap/Handle.h"
-#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
-class EntriesCallback;
-class EntriesCallbacks;
class ErrorCallback;
class DirectoryReader : public DirectoryReaderBase, public ScriptWrappable {
public:
- static PassRefPtrWillBeRawPtr<DirectoryReader> create(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+ static DirectoryReader* create(DOMFileSystemBase* fileSystem, const String& fullPath)
{
- return adoptRefWillBeNoop(new DirectoryReader(fileSystem, fullPath));
+ return new DirectoryReader(fileSystem, fullPath);
}
virtual ~DirectoryReader();
@@ -63,14 +61,14 @@ private:
class EntriesCallbackHelper;
class ErrorCallbackHelper;
- DirectoryReader(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath);
+ DirectoryReader(DOMFileSystemBase*, const String& fullPath);
- void addEntries(const WillBeHeapVector<RefPtrWillBeMember<Entry> >& entries);
+ void addEntries(const EntryHeapVector& entries);
void onError(FileError*);
bool m_isReading;
- WillBeHeapVector<RefPtrWillBeMember<Entry> > m_entries;
+ EntryHeapVector m_entries;
RefPtrWillBeMember<FileError> m_error;
OwnPtr<EntriesCallback> m_entriesCallback;
OwnPtr<ErrorCallback> m_errorCallback;
« no previous file with comments | « Source/modules/filesystem/DirectoryEntrySync.cpp ('k') | Source/modules/filesystem/DirectoryReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698