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

Unified Diff: Source/modules/filesystem/DirectoryEntrySync.cpp

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/DirectoryEntrySync.h ('k') | Source/modules/filesystem/DirectoryReader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DirectoryEntrySync.cpp
diff --git a/Source/modules/filesystem/DirectoryEntrySync.cpp b/Source/modules/filesystem/DirectoryEntrySync.cpp
index 678bbbf3e33a391c10bb8ea584981ff45747c7be..3c4ec54ddeb2c5329b2fa91e44c1e8aaf753c9e8 100644
--- a/Source/modules/filesystem/DirectoryEntrySync.cpp
+++ b/Source/modules/filesystem/DirectoryEntrySync.cpp
@@ -40,18 +40,18 @@
namespace WebCore {
-DirectoryEntrySync::DirectoryEntrySync(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+DirectoryEntrySync::DirectoryEntrySync(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
: EntrySync(fileSystem, fullPath)
{
ScriptWrappable::init(this);
}
-PassRefPtr<DirectoryReaderSync> DirectoryEntrySync::createReader()
+PassRefPtrWillBeRawPtr<DirectoryReaderSync> DirectoryEntrySync::createReader()
{
return DirectoryReaderSync::create(m_fileSystem, m_fullPath);
}
-PassRefPtr<FileEntrySync> DirectoryEntrySync::getFile(const String& path, const Dictionary& options, ExceptionState& exceptionState)
+PassRefPtrWillBeRawPtr<FileEntrySync> DirectoryEntrySync::getFile(const String& path, const Dictionary& options, ExceptionState& exceptionState)
{
FileSystemFlags flags(options);
EntrySyncCallbackHelper helper;
@@ -59,7 +59,7 @@ PassRefPtr<FileEntrySync> DirectoryEntrySync::getFile(const String& path, const
return static_pointer_cast<FileEntrySync>(helper.getResult(exceptionState));
}
-PassRefPtr<DirectoryEntrySync> DirectoryEntrySync::getDirectory(const String& path, const Dictionary& options, ExceptionState& exceptionState)
+PassRefPtrWillBeRawPtr<DirectoryEntrySync> DirectoryEntrySync::getDirectory(const String& path, const Dictionary& options, ExceptionState& exceptionState)
{
FileSystemFlags flags(options);
EntrySyncCallbackHelper helper;
@@ -74,4 +74,9 @@ void DirectoryEntrySync::removeRecursively(ExceptionState& exceptionState)
helper.getResult(exceptionState);
}
+void DirectoryEntrySync::trace(Visitor* visitor)
+{
+ EntrySync::trace(visitor);
+}
+
}
« no previous file with comments | « Source/modules/filesystem/DirectoryEntrySync.h ('k') | Source/modules/filesystem/DirectoryReader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698