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

Unified Diff: chrome/browser/extensions/api/file_handlers/app_file_handler_util.h

Issue 23146016: Add support for directory access to the file system API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@simpler-write-permissions
Patch Set: Created 7 years, 4 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
Index: chrome/browser/extensions/api/file_handlers/app_file_handler_util.h
diff --git a/chrome/browser/extensions/api/file_handlers/app_file_handler_util.h b/chrome/browser/extensions/api/file_handlers/app_file_handler_util.h
index a006e8492ba70c6b41023e4889839ce1d0cf861d..eb6b5617c1a8cf45ec24289eb77eebec0a6a7622 100644
--- a/chrome/browser/extensions/api/file_handlers/app_file_handler_util.h
+++ b/chrome/browser/extensions/api/file_handlers/app_file_handler_util.h
@@ -49,6 +49,8 @@ bool FileHandlerCanHandleFile(
// Refers to a file entry that a renderer has been given access to.
struct GrantedFileEntry {
+ GrantedFileEntry();
+
std::string id;
std::string filesystem_id;
std::string registered_name;
@@ -60,7 +62,8 @@ GrantedFileEntry CreateFileEntry(
Profile* profile,
const Extension* extension,
int renderer_id,
- const base::FilePath& path);
+ const base::FilePath& path,
+ bool is_directory);
void CheckWritableFiles(
const std::vector<base::FilePath>& paths,

Powered by Google App Engine
This is Rietveld 408576698