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

Unified Diff: Source/modules/filesystem/EntrySync.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/EntryBase.cpp ('k') | Source/modules/filesystem/EntrySync.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/EntrySync.h
diff --git a/Source/modules/filesystem/EntrySync.h b/Source/modules/filesystem/EntrySync.h
index ff5e9540b0a2c99918710488a3f583c6302a6345..7fb2a6dc9145efdd3c42f81a8aa9404ea7f776e1 100644
--- a/Source/modules/filesystem/EntrySync.h
+++ b/Source/modules/filesystem/EntrySync.h
@@ -32,6 +32,7 @@
#define EntrySync_h
#include "bindings/v8/ScriptWrappable.h"
+#include "heap/Handle.h"
#include "modules/filesystem/DOMFileSystemSync.h"
#include "modules/filesystem/EntryBase.h"
#include "wtf/Forward.h"
@@ -44,20 +45,22 @@ class DirectoryEntrySync;
class Metadata;
class ExceptionState;
-class EntrySync : public ScriptWrappable, public EntryBase {
+class EntrySync : public EntryBase, public ScriptWrappable {
public:
- static PassRefPtr<EntrySync> create(EntryBase*);
+ static PassRefPtrWillBeRawPtr<EntrySync> create(EntryBase*);
DOMFileSystemSync* filesystem() const { return static_cast<DOMFileSystemSync*>(m_fileSystem.get()); }
- PassRefPtr<Metadata> getMetadata(ExceptionState&);
- PassRefPtr<EntrySync> moveTo(PassRefPtr<DirectoryEntrySync> parent, const String& name, ExceptionState&) const;
- PassRefPtr<EntrySync> copyTo(PassRefPtr<DirectoryEntrySync> parent, const String& name, ExceptionState&) const;
+ PassRefPtrWillBeRawPtr<Metadata> getMetadata(ExceptionState&);
+ PassRefPtrWillBeRawPtr<EntrySync> moveTo(PassRefPtrWillBeRawPtr<DirectoryEntrySync> parent, const String& name, ExceptionState&) const;
+ PassRefPtrWillBeRawPtr<EntrySync> copyTo(PassRefPtrWillBeRawPtr<DirectoryEntrySync> parent, const String& name, ExceptionState&) const;
void remove(ExceptionState&) const;
- PassRefPtr<EntrySync> getParent() const;
+ PassRefPtrWillBeRawPtr<EntrySync> getParent() const;
+
+ virtual void trace(Visitor*) OVERRIDE;
protected:
- EntrySync(PassRefPtr<DOMFileSystemBase>, const String& fullPath);
+ EntrySync(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath);
};
}
« no previous file with comments | « Source/modules/filesystem/EntryBase.cpp ('k') | Source/modules/filesystem/EntrySync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698