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

Unified Diff: chrome/browser/chromeos/file_manager/fileapi_util.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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/media_galleries/media_galleries_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/file_manager/fileapi_util.h
diff --git a/chrome/browser/chromeos/file_manager/fileapi_util.h b/chrome/browser/chromeos/file_manager/fileapi_util.h
index 06004fd4ecf6320698439fc8779f76b887a5c0d8..175c77e8292d68825d5f3962e24d03730e0c0dbd 100644
--- a/chrome/browser/chromeos/file_manager/fileapi_util.h
+++ b/chrome/browser/chromeos/file_manager/fileapi_util.h
@@ -35,24 +35,25 @@ namespace file_manager {
namespace util {
// Structure information necessary to create a EntryDefinition, and therefore
-// an Entry object on the JavaScript side.
+// an FileSystemEntry object on the JavaScript side.
struct FileDefinition {
base::FilePath virtual_path;
base::FilePath absolute_path;
bool is_directory;
};
-// Contains all information needed to create an Entry object in custom bindings.
+// Contains all information needed to create an FileSystemEntry object in custom
+// bindings.
struct EntryDefinition {
EntryDefinition();
EntryDefinition(const EntryDefinition& other);
~EntryDefinition();
- std::string file_system_root_url; // Used to create DOMFileSystem.
- std::string file_system_name; // Value of DOMFileSystem.name.
- base::FilePath full_path; // Value of Entry.fullPath.
- // Whether to create FileEntry or DirectoryEntry when the corresponding entry
- // is not found.
+ std::string file_system_root_url; // Used to create FileSystem.
+ std::string file_system_name; // Value of FileSystem.name.
+ base::FilePath full_path; // Value of FileSystemEntry.fullPath.
+ // Whether to create FileSystemFileEntry or FileSystemDirectoryEntry when the
+ // corresponding entry is not found.
bool is_directory;
base::File::Error error;
};
« no previous file with comments | « no previous file | chrome/browser/extensions/api/media_galleries/media_galleries_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698