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

Unified Diff: webkit/fileapi/directory_entry.h

Issue 14671020: FileAPI: Copy base::FileUtilProxy::Entry to fileapi::DirectoryEntry (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build and remove base/ change Created 7 years, 7 months 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
« no previous file with comments | « webkit/fileapi/async_file_util_adapter.cc ('k') | webkit/fileapi/file_system_dir_url_request_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/directory_entry.h
diff --git a/webkit/fileapi/directory_entry.h b/webkit/fileapi/directory_entry.h
new file mode 100644
index 0000000000000000000000000000000000000000..205303848b47a1871f3397b466fe6db8c0893af5
--- /dev/null
+++ b/webkit/fileapi/directory_entry.h
@@ -0,0 +1,24 @@
+// Copyright 2013 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_FILEAPI_DIRECTORY_ENTRY_H_
+#define WEBKIT_FILEAPI_DIRECTORY_ENTRY_H_
+
+#include "base/basictypes.h"
+#include "base/files/file_path.h"
+#include "base/time.h"
+
+namespace fileapi {
+
+// Holds metadata for file or directory entry.
+struct DirectoryEntry {
+ base::FilePath::StringType name;
+ bool is_directory;
+ int64 size;
+ base::Time last_modified_time;
+};
+
+}
+
+#endif // WEBKIT_FILEAPI_DIRECTORY_ENTRY_H_
« no previous file with comments | « webkit/fileapi/async_file_util_adapter.cc ('k') | webkit/fileapi/file_system_dir_url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698