Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / api / file_handlers / app_file_handler_util.h
index ef43bbf..e39d941 100644 (file)
 
 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 {
@@ -59,12 +55,11 @@ bool FileHandlerCanHandleFile(
 
 // 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|.