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

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

Issue 103083002: Decouple FileSystem and WebSQL callbacks from VoidCallback and it non-refcounted (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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.h ('k') | Source/modules/filesystem/DirectoryEntry.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DirectoryEntry.cpp
diff --git a/Source/modules/filesystem/DirectoryEntry.cpp b/Source/modules/filesystem/DirectoryEntry.cpp
index 61dfe342a345ca1ce52df9bdff928c9d82da9a65..069cf1792550b2b712853eab4301d3125997e5fe 100644
--- a/Source/modules/filesystem/DirectoryEntry.cpp
+++ b/Source/modules/filesystem/DirectoryEntry.cpp
@@ -32,10 +32,10 @@
#include "modules/filesystem/DirectoryEntry.h"
#include "core/fileapi/FileError.h"
-#include "core/html/VoidCallback.h"
#include "modules/filesystem/DirectoryReader.h"
#include "modules/filesystem/EntryCallback.h"
#include "modules/filesystem/ErrorCallback.h"
+#include "modules/filesystem/FileSystemVoidCallback.h"
namespace WebCore {
@@ -62,7 +62,7 @@ void DirectoryEntry::getDirectory(const String& path, const Dictionary& options,
m_fileSystem->getDirectory(this, path, flags, successCallback, errorCallback);
}
-void DirectoryEntry::removeRecursively(PassRefPtr<VoidCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) const
+void DirectoryEntry::removeRecursively(PassRefPtr<FileSystemVoidCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) const
{
m_fileSystem->removeRecursively(this, successCallback, errorCallback);
}
« no previous file with comments | « Source/modules/filesystem/DirectoryEntry.h ('k') | Source/modules/filesystem/DirectoryEntry.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698