summaryrefslogtreecommitdiffstats
path: root/webkit/common/fileapi/directory_entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/common/fileapi/directory_entry.h')
-rw-r--r--webkit/common/fileapi/directory_entry.h37
1 files changed, 2 insertions, 35 deletions
diff --git a/webkit/common/fileapi/directory_entry.h b/webkit/common/fileapi/directory_entry.h
index 359fce4..536fe6f 100644
--- a/webkit/common/fileapi/directory_entry.h
+++ b/webkit/common/fileapi/directory_entry.h
@@ -1,38 +1,5 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_COMMON_FILEAPI_DIRECTORY_ENTRY_H_
-#define WEBKIT_COMMON_FILEAPI_DIRECTORY_ENTRY_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "base/files/file_path.h"
-#include "base/time/time.h"
-#include "webkit/common/storage_common_export.h"
-
-namespace storage {
-
-// Holds metadata for file or directory entry.
-struct STORAGE_COMMON_EXPORT DirectoryEntry {
- enum DirectoryEntryType {
- FILE,
- DIRECTORY,
- };
-
- DirectoryEntry();
- DirectoryEntry(const std::string& name,
- DirectoryEntryType type,
- int64 size,
- const base::Time& last_modified_time);
-
- base::FilePath::StringType name;
- bool is_directory;
- int64 size;
- base::Time last_modified_time;
-};
-
-} // namespace storage
-
-#endif // WEBKIT_COMMON_FILEAPI_DIRECTORY_ENTRY_H_
+#include "storage/common/fileapi/directory_entry.h"