| 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 53d003602d3eed3a8343c75a562ff3f99ae3223e..ef43bbf84706c421964a1eac89392c05ec8ea667 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
|
| @@ -66,7 +66,12 @@ apps::file_handler_util::GrantedFileEntry CreateFileEntry(
|
| const base::FilePath& path,
|
| bool is_directory);
|
|
|
| -void CheckWritableFiles(
|
| +// When |is_directory| is true, it verifies that directories exist at each of
|
| +// the |paths| and calls back to |on_success| or otherwise to |on_failure|.
|
| +// When |is_directory| is false, it ensures regular files exists (not links and
|
| +// directories) at the |paths|, creating files if needed, and calls back to
|
| +// |on_success| or to |on_failure| depending on the result.
|
| +void PrepareFilesForWritableApp(
|
| const std::vector<base::FilePath>& paths,
|
| Profile* profile,
|
| bool is_directory,
|
|
|