| Index: third_party/WebKit/Source/modules/filesystem/FileSystemEntry.h
|
| diff --git a/third_party/WebKit/Source/modules/filesystem/Entry.h b/third_party/WebKit/Source/modules/filesystem/FileSystemEntry.h
|
| similarity index 71%
|
| rename from third_party/WebKit/Source/modules/filesystem/Entry.h
|
| rename to third_party/WebKit/Source/modules/filesystem/FileSystemEntry.h
|
| index 8778a47022dcea6c68aa5fdb523086301087e84c..ebf39b096114418ad748955efbe6759346a5dfd4 100644
|
| --- a/third_party/WebKit/Source/modules/filesystem/Entry.h
|
| +++ b/third_party/WebKit/Source/modules/filesystem/FileSystemEntry.h
|
| @@ -28,59 +28,60 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef Entry_h
|
| -#define Entry_h
|
| +#ifndef FileSystemEntry_h
|
| +#define FileSystemEntry_h
|
|
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "modules/ModulesExport.h"
|
| -#include "modules/filesystem/DOMFileSystem.h"
|
| -#include "modules/filesystem/EntryBase.h"
|
| +#include "modules/filesystem/FileSystem.h"
|
| +#include "modules/filesystem/FileSystemEntryBase.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| -class DirectoryEntry;
|
| -class EntryCallback;
|
| class ErrorCallback;
|
| -class MetadataCallback;
|
| +class FileSystemDirectoryEntry;
|
| +class FileSystemEntryCallback;
|
| +class FileSystemMetadataCallback;
|
| class VoidCallback;
|
|
|
| -class MODULES_EXPORT Entry : public EntryBase, public ScriptWrappable {
|
| +class MODULES_EXPORT FileSystemEntry : public FileSystemEntryBase,
|
| + public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| public:
|
| - DOMFileSystem* filesystem() const {
|
| - return static_cast<DOMFileSystem*>(m_fileSystem.get());
|
| + FileSystem* filesystem() const {
|
| + return static_cast<FileSystem*>(m_fileSystem.get());
|
| }
|
| - DOMFileSystem* filesystem(ExecutionContext*) const;
|
| + FileSystem* filesystem(ExecutionContext*) const;
|
|
|
| void getMetadata(ExecutionContext*,
|
| - MetadataCallback* successCallback = nullptr,
|
| + FileSystemMetadataCallback* successCallback = nullptr,
|
| ErrorCallback* = nullptr);
|
| void moveTo(ExecutionContext*,
|
| - DirectoryEntry* parent,
|
| + FileSystemDirectoryEntry* parent,
|
| const String& name = String(),
|
| - EntryCallback* successCallback = nullptr,
|
| + FileSystemEntryCallback* successCallback = nullptr,
|
| ErrorCallback* = nullptr) const;
|
| void copyTo(ExecutionContext*,
|
| - DirectoryEntry* parent,
|
| + FileSystemDirectoryEntry* parent,
|
| const String& name = String(),
|
| - EntryCallback* successCallback = nullptr,
|
| + FileSystemEntryCallback* successCallback = nullptr,
|
| ErrorCallback* = nullptr) const;
|
| void remove(ExecutionContext*,
|
| VoidCallback* successCallback = nullptr,
|
| ErrorCallback* = nullptr) const;
|
| void getParent(ExecutionContext*,
|
| - EntryCallback* successCallback = nullptr,
|
| + FileSystemEntryCallback* successCallback = nullptr,
|
| ErrorCallback* = nullptr) const;
|
| String toURL(ExecutionContext*) const;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| protected:
|
| - Entry(DOMFileSystemBase*, const String& fullPath);
|
| + FileSystemEntry(FileSystemBase*, const String& fullPath);
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // Entry_h
|
| +#endif // FileSystemEntry_h
|
|
|