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

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileSystemMetadata.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/FileSystemMetadata.h
diff --git a/third_party/WebKit/Source/modules/filesystem/Metadata.h b/third_party/WebKit/Source/modules/filesystem/FileSystemMetadata.h
similarity index 79%
rename from third_party/WebKit/Source/modules/filesystem/Metadata.h
rename to third_party/WebKit/Source/modules/filesystem/FileSystemMetadata.h
index 10acb3f3b97577a7f7f0eff6a491a2db7d26155f..8b7dfe264e6fa9cd00b81b203d58bd9760af808b 100644
--- a/third_party/WebKit/Source/modules/filesystem/Metadata.h
+++ b/third_party/WebKit/Source/modules/filesystem/FileSystemMetadata.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef Metadata_h
-#define Metadata_h
+#ifndef FileSystemMetadata_h
+#define FileSystemMetadata_h
#include "bindings/core/v8/ScriptWrappable.h"
#include "platform/FileMetadata.h"
@@ -37,17 +37,18 @@
namespace blink {
-class Metadata final : public GarbageCollectedFinalized<Metadata>,
- public ScriptWrappable {
+class FileSystemMetadata final
+ : public GarbageCollectedFinalized<FileSystemMetadata>,
+ public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static Metadata* create(const FileMetadata& platformMetadata) {
- return new Metadata(platformMetadata);
+ static FileSystemMetadata* create(const FileMetadata& platformMetadata) {
+ return new FileSystemMetadata(platformMetadata);
}
- static Metadata* create(Metadata* metadata) {
- return new Metadata(metadata->m_platformMetadata);
+ static FileSystemMetadata* create(FileSystemMetadata* metadata) {
+ return new FileSystemMetadata(metadata->m_platformMetadata);
}
// Return Epoch time in milliseconds for Date.
@@ -61,7 +62,7 @@ class Metadata final : public GarbageCollectedFinalized<Metadata>,
DEFINE_INLINE_TRACE() {}
private:
- explicit Metadata(const FileMetadata& platformMetadata)
+ explicit FileSystemMetadata(const FileMetadata& platformMetadata)
: m_platformMetadata(platformMetadata) {}
FileMetadata m_platformMetadata;
@@ -69,4 +70,4 @@ class Metadata final : public GarbageCollectedFinalized<Metadata>,
} // namespace blink
-#endif // Metadata_h
+#endif // FileSystemMetadata_h

Powered by Google App Engine
This is Rietveld 408576698