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

Unified Diff: Source/modules/filesystem/Entry.h

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.idl ('k') | Source/modules/filesystem/Entry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/Entry.h
diff --git a/Source/modules/filesystem/Entry.h b/Source/modules/filesystem/Entry.h
index 6a806f713384791a7871411863abca25bea6db8f..048d409206e68979edd3227ab646fbd002b3c88a 100644
--- a/Source/modules/filesystem/Entry.h
+++ b/Source/modules/filesystem/Entry.h
@@ -44,17 +44,17 @@ class EntryCallback;
class EntrySync;
class ErrorCallback;
class MetadataCallback;
-class VoidCallback;
+class FileSystemVoidCallback;
class Entry : public EntryBase, public ScriptWrappable {
public:
DOMFileSystem* filesystem() const { return static_cast<DOMFileSystem*>(m_fileSystem.get()); }
- void getMetadata(PassRefPtr<MetadataCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0);
- void moveTo(PassRefPtr<DirectoryEntry> parent, const String& name = String(), PassRefPtr<EntryCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0) const;
- void copyTo(PassRefPtr<DirectoryEntry> parent, const String& name = String(), PassRefPtr<EntryCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0) const;
- void remove(PassRefPtr<VoidCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0) const;
- void getParent(PassRefPtr<EntryCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0) const;
+ void getMetadata(PassRefPtr<MetadataCallback> successCallback = 0, PassRefPtr<ErrorCallback> = 0);
+ void moveTo(PassRefPtr<DirectoryEntry> parent, const String& name = String(), PassRefPtr<EntryCallback> successCallback = 0, PassRefPtr<ErrorCallback> = 0) const;
+ void copyTo(PassRefPtr<DirectoryEntry> parent, const String& name = String(), PassRefPtr<EntryCallback> successCallback = 0, PassRefPtr<ErrorCallback> = 0) const;
+ void remove(PassRefPtr<FileSystemVoidCallback> successCallback = 0, PassRefPtr<ErrorCallback> = 0) const;
+ void getParent(PassRefPtr<EntryCallback> successCallback = 0, PassRefPtr<ErrorCallback> = 0) const;
protected:
Entry(PassRefPtr<DOMFileSystemBase>, const String& fullPath);
« no previous file with comments | « Source/modules/filesystem/DirectoryEntry.idl ('k') | Source/modules/filesystem/Entry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698