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

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileSystemEntrySync.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/FileSystemEntrySync.h
diff --git a/third_party/WebKit/Source/modules/filesystem/EntrySync.h b/third_party/WebKit/Source/modules/filesystem/FileSystemEntrySync.h
similarity index 65%
rename from third_party/WebKit/Source/modules/filesystem/EntrySync.h
rename to third_party/WebKit/Source/modules/filesystem/FileSystemEntrySync.h
index 0f1fcdbb2ad0dd4ae2dbe133264ea130ea0c0401..f40e0c582f0d246d62a104a2ae661170d8976f97 100644
--- a/third_party/WebKit/Source/modules/filesystem/EntrySync.h
+++ b/third_party/WebKit/Source/modules/filesystem/FileSystemEntrySync.h
@@ -28,47 +28,47 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef EntrySync_h
-#define EntrySync_h
+#ifndef FileSystemEntrySync_h
+#define FileSystemEntrySync_h
#include "bindings/core/v8/ScriptWrappable.h"
-#include "modules/filesystem/DOMFileSystemSync.h"
-#include "modules/filesystem/EntryBase.h"
+#include "modules/filesystem/FileSystemEntryBase.h"
+#include "modules/filesystem/FileSystemSync.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
namespace blink {
-class DirectoryEntrySync;
-class Metadata;
class ExceptionState;
+class FileSystemDirectoryEntrySync;
+class FileSystemMetadata;
-class EntrySync : public EntryBase, public ScriptWrappable {
+class FileSystemEntrySync : public FileSystemEntryBase, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static EntrySync* create(EntryBase*);
+ static FileSystemEntrySync* create(FileSystemEntryBase*);
- DOMFileSystemSync* filesystem() const {
- return static_cast<DOMFileSystemSync*>(m_fileSystem.get());
+ FileSystemSync* filesystem() const {
+ return static_cast<FileSystemSync*>(m_fileSystem.get());
}
- Metadata* getMetadata(ExceptionState&);
- EntrySync* moveTo(DirectoryEntrySync* parent,
- const String& name,
- ExceptionState&) const;
- EntrySync* copyTo(DirectoryEntrySync* parent,
- const String& name,
- ExceptionState&) const;
+ FileSystemMetadata* getMetadata(ExceptionState&);
+ FileSystemEntrySync* moveTo(FileSystemDirectoryEntrySync* parent,
+ const String& name,
+ ExceptionState&) const;
+ FileSystemEntrySync* copyTo(FileSystemDirectoryEntrySync* parent,
+ const String& name,
+ ExceptionState&) const;
void remove(ExceptionState&) const;
- EntrySync* getParent() const;
+ FileSystemEntrySync* getParent() const;
DECLARE_VIRTUAL_TRACE();
protected:
- EntrySync(DOMFileSystemBase*, const String& fullPath);
+ FileSystemEntrySync(FileSystemBase*, const String& fullPath);
};
} // namespace blink
-#endif // EntrySync_h
+#endif // FileSystemEntrySync_h

Powered by Google App Engine
This is Rietveld 408576698