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

Unified Diff: Source/modules/filesystem/Entry.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/Entry.h ('k') | Source/modules/filesystem/Entry.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/Entry.cpp
diff --git a/Source/modules/filesystem/Entry.cpp b/Source/modules/filesystem/Entry.cpp
index 66bbc2ea24c4353fd210e733fbfc3e431260134e..47c60393b8ee61c29e2791a6cb6487d18a86bf63 100644
--- a/Source/modules/filesystem/Entry.cpp
+++ b/Source/modules/filesystem/Entry.cpp
@@ -32,11 +32,11 @@
#include "core/dom/ExecutionContext.h"
#include "core/fileapi/FileError.h"
-#include "core/html/VoidCallback.h"
#include "modules/filesystem/DirectoryEntry.h"
#include "modules/filesystem/EntryCallback.h"
#include "modules/filesystem/ErrorCallback.h"
#include "modules/filesystem/FileSystemCallbacks.h"
+#include "modules/filesystem/FileSystemVoidCallback.h"
#include "modules/filesystem/MetadataCallback.h"
#include "platform/weborigin/SecurityOrigin.h"
#include "wtf/text/StringBuilder.h"
@@ -64,7 +64,7 @@ void Entry::copyTo(PassRefPtr<DirectoryEntry> parent, const String& name, PassRe
m_fileSystem->copy(this, parent.get(), name, successCallback, errorCallback);
}
-void Entry::remove(PassRefPtr<VoidCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) const
+void Entry::remove(PassRefPtr<FileSystemVoidCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) const
{
m_fileSystem->remove(this, successCallback, errorCallback);
}
« no previous file with comments | « Source/modules/filesystem/Entry.h ('k') | Source/modules/filesystem/Entry.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698