| Index: third_party/WebKit/Source/modules/filesystem/FileSystemFileEntry.h
|
| diff --git a/third_party/WebKit/Source/modules/filesystem/FileEntry.h b/third_party/WebKit/Source/modules/filesystem/FileSystemFileEntry.h
|
| similarity index 75%
|
| rename from third_party/WebKit/Source/modules/filesystem/FileEntry.h
|
| rename to third_party/WebKit/Source/modules/filesystem/FileSystemFileEntry.h
|
| index 5a199e72301ef55a2514b106fc400bfa41df7a43..ce2fcfe2ac6d64ae9c59db32b907485614852442 100644
|
| --- a/third_party/WebKit/Source/modules/filesystem/FileEntry.h
|
| +++ b/third_party/WebKit/Source/modules/filesystem/FileSystemFileEntry.h
|
| @@ -28,26 +28,26 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef FileEntry_h
|
| -#define FileEntry_h
|
| +#ifndef FileSystemFileEntry_h
|
| +#define FileSystemFileEntry_h
|
|
|
| #include "modules/ModulesExport.h"
|
| -#include "modules/filesystem/Entry.h"
|
| +#include "modules/filesystem/FileSystemEntry.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| -class DOMFileSystemBase;
|
| class BlobCallback;
|
| +class FileSystemBase;
|
| class FileWriterCallback;
|
|
|
| -class MODULES_EXPORT FileEntry final : public Entry {
|
| +class MODULES_EXPORT FileSystemFileEntry final : public FileSystemEntry {
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| public:
|
| - static FileEntry* create(DOMFileSystemBase* fileSystem,
|
| - const String& fullPath) {
|
| - return new FileEntry(fileSystem, fullPath);
|
| + static FileSystemFileEntry* create(FileSystemBase* fileSystem,
|
| + const String& fullPath) {
|
| + return new FileSystemFileEntry(fileSystem, fullPath);
|
| }
|
|
|
| void createWriter(FileWriterCallback*, ErrorCallback* = nullptr);
|
| @@ -58,11 +58,15 @@ class MODULES_EXPORT FileEntry final : public Entry {
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - FileEntry(DOMFileSystemBase*, const String& fullPath);
|
| + FileSystemFileEntry(FileSystemBase*, const String& fullPath);
|
| };
|
|
|
| -DEFINE_TYPE_CASTS(FileEntry, Entry, entry, entry->isFile(), entry.isFile());
|
| +DEFINE_TYPE_CASTS(FileSystemFileEntry,
|
| + FileSystemEntry,
|
| + entry,
|
| + entry->isFile(),
|
| + entry.isFile());
|
|
|
| } // namespace blink
|
|
|
| -#endif // FileEntry_h
|
| +#endif // FileSystemFileEntry_h
|
|
|