class Profile;
-namespace apps {
-namespace file_handler_util {
-struct GrantedFileEntry;
-}
-}
-
namespace extensions {
+
class ExtensionPrefs;
+struct GrantedFileEntry;
// TODO(benwells): move this to platform_apps namespace.
namespace app_file_handler_util {
// Creates a new file entry and allows |renderer_id| to access |path|. This
// registers a new file system for |path|.
-apps::file_handler_util::GrantedFileEntry CreateFileEntry(
- Profile* profile,
- const Extension* extension,
- int renderer_id,
- const base::FilePath& path,
- bool is_directory);
+GrantedFileEntry CreateFileEntry(Profile* profile,
+ const Extension* extension,
+ int renderer_id,
+ const base::FilePath& path,
+ bool is_directory);
// 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|.