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

Unified Diff: Source/modules/filesystem/DirectoryEntrySync.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/DirectoryEntry.cpp ('k') | Source/modules/filesystem/DirectoryEntrySync.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DirectoryEntrySync.h
diff --git a/Source/modules/filesystem/DirectoryEntrySync.h b/Source/modules/filesystem/DirectoryEntrySync.h
index 739581537345fcc33500de08467e7e6bb51f59f7..6326201dcf190e62930cd832523d728108486711 100644
--- a/Source/modules/filesystem/DirectoryEntrySync.h
+++ b/Source/modules/filesystem/DirectoryEntrySync.h
@@ -45,19 +45,21 @@ class FileEntrySync;
class DirectoryEntrySync FINAL : public EntrySync {
public:
- static PassRefPtr<DirectoryEntrySync> create(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+ static PassRefPtrWillBeRawPtr<DirectoryEntrySync> create(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
{
- return adoptRef(new DirectoryEntrySync(fileSystem, fullPath));
+ return adoptRefWillBeNoop(new DirectoryEntrySync(fileSystem, fullPath));
}
virtual bool isDirectory() const OVERRIDE { return true; }
- PassRefPtr<DirectoryReaderSync> createReader();
- PassRefPtr<FileEntrySync> getFile(const String& path, const Dictionary&, ExceptionState&);
- PassRefPtr<DirectoryEntrySync> getDirectory(const String& path, const Dictionary&, ExceptionState&);
+ PassRefPtrWillBeRawPtr<DirectoryReaderSync> createReader();
+ PassRefPtrWillBeRawPtr<FileEntrySync> getFile(const String& path, const Dictionary&, ExceptionState&);
+ PassRefPtrWillBeRawPtr<DirectoryEntrySync> getDirectory(const String& path, const Dictionary&, ExceptionState&);
void removeRecursively(ExceptionState&);
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
- DirectoryEntrySync(PassRefPtr<DOMFileSystemBase>, const String& fullPath);
+ DirectoryEntrySync(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath);
};
DEFINE_TYPE_CASTS(DirectoryEntrySync, EntrySync, entry, entry->isDirectory(), entry.isDirectory());
« no previous file with comments | « Source/modules/filesystem/DirectoryEntry.cpp ('k') | Source/modules/filesystem/DirectoryEntrySync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698