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

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

Issue 188503002: Oilpan: add transition types to FileSystem APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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/EntriesCallback.h ('k') | Source/modules/filesystem/Entry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/Entry.h
diff --git a/Source/modules/filesystem/Entry.h b/Source/modules/filesystem/Entry.h
index c709619b629978b635810a25d367674f3d361f24..7dbe556297472dca1167df4b79bd00e5e1949001 100644
--- a/Source/modules/filesystem/Entry.h
+++ b/Source/modules/filesystem/Entry.h
@@ -32,6 +32,7 @@
#define Entry_h
#include "bindings/v8/ScriptWrappable.h"
+#include "heap/Handle.h"
#include "modules/filesystem/DOMFileSystem.h"
#include "modules/filesystem/EntryBase.h"
#include "wtf/PassRefPtr.h"
@@ -51,13 +52,15 @@ public:
DOMFileSystem* filesystem() const { return static_cast<DOMFileSystem*>(m_fileSystem.get()); }
void getMetadata(PassOwnPtr<MetadataCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr);
- void moveTo(PassRefPtr<DirectoryEntry> parent, const String& name = String(), PassOwnPtr<EntryCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr) const;
- void copyTo(PassRefPtr<DirectoryEntry> parent, const String& name = String(), PassOwnPtr<EntryCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr) const;
+ void moveTo(PassRefPtrWillBeRawPtr<DirectoryEntry> parent, const String& name = String(), PassOwnPtr<EntryCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr) const;
+ void copyTo(PassRefPtrWillBeRawPtr<DirectoryEntry> parent, const String& name = String(), PassOwnPtr<EntryCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr) const;
void remove(PassOwnPtr<VoidCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr) const;
void getParent(PassOwnPtr<EntryCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr) const;
+ virtual void trace(Visitor*) OVERRIDE;
+
protected:
- Entry(PassRefPtr<DOMFileSystemBase>, const String& fullPath);
+ Entry(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath);
};
} // namespace WebCore
« no previous file with comments | « Source/modules/filesystem/EntriesCallback.h ('k') | Source/modules/filesystem/Entry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698