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

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileSystemFileEntrySync.h

Issue 2297043002: Web expose FileSystemFileEntry, FileSystemDirectoryEntry and friends (Closed)
Patch Set: Rebased Created 4 years, 1 month 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
Index: third_party/WebKit/Source/modules/filesystem/FileSystemFileEntrySync.h
diff --git a/third_party/WebKit/Source/modules/filesystem/FileEntrySync.h b/third_party/WebKit/Source/modules/filesystem/FileSystemFileEntrySync.h
similarity index 78%
rename from third_party/WebKit/Source/modules/filesystem/FileEntrySync.h
rename to third_party/WebKit/Source/modules/filesystem/FileSystemFileEntrySync.h
index 9263b03bcdfb73472040837cb73bcb9886ac26e8..693f71f82c81b9394353c20f39497d61abe91a4c 100644
--- a/third_party/WebKit/Source/modules/filesystem/FileEntrySync.h
+++ b/third_party/WebKit/Source/modules/filesystem/FileSystemFileEntrySync.h
@@ -28,10 +28,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef FileEntrySync_h
-#define FileEntrySync_h
+#ifndef FileSystemFileEntrySync_h
+#define FileSystemFileEntrySync_h
-#include "modules/filesystem/EntrySync.h"
+#include "modules/filesystem/FileSystemEntrySync.h"
#include "platform/heap/Handle.h"
#include "wtf/text/WTFString.h"
@@ -41,13 +41,13 @@ class ExceptionState;
class File;
class FileWriterSync;
-class FileEntrySync final : public EntrySync {
+class FileSystemFileEntrySync final : public FileSystemEntrySync {
DEFINE_WRAPPERTYPEINFO();
public:
- static FileEntrySync* create(DOMFileSystemBase* fileSystem,
- const String& fullPath) {
- return new FileEntrySync(fileSystem, fullPath);
+ static FileSystemFileEntrySync* create(FileSystemBase* fileSystem,
+ const String& fullPath) {
+ return new FileSystemFileEntrySync(fileSystem, fullPath);
}
bool isFile() const override { return true; }
@@ -58,15 +58,15 @@ class FileEntrySync final : public EntrySync {
DECLARE_VIRTUAL_TRACE();
private:
- FileEntrySync(DOMFileSystemBase*, const String& fullPath);
+ FileSystemFileEntrySync(FileSystemBase*, const String& fullPath);
};
-DEFINE_TYPE_CASTS(FileEntrySync,
- EntrySync,
+DEFINE_TYPE_CASTS(FileSystemFileEntrySync,
+ FileSystemEntrySync,
entry,
entry->isFile(),
entry.isFile());
} // namespace blink
-#endif // FileEntrySync_h
+#endif // FileSystemFileEntrySync_h

Powered by Google App Engine
This is Rietveld 408576698