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 4dd7300ae1570018658ae92a55294bf21cb4d955..14bd11cf1deda85502ce3b5ad90f60efd2cf2997 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 |
@@ -16,6 +16,12 @@ |
class Profile; |
+namespace apps { |
+namespace file_handler_util { |
+struct GrantedFileEntry; |
+} |
+} |
+ |
namespace extensions { |
class ExtensionPrefs; |
@@ -51,18 +57,9 @@ bool FileHandlerCanHandleFile( |
const std::string& mime_type, |
const base::FilePath& path); |
-// 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; |
-}; |
- |
// Creates a new file entry and allows |renderer_id| to access |path|. This |
// registers a new file system for |path|. |
-GrantedFileEntry CreateFileEntry( |
+apps::file_handler_util::GrantedFileEntry CreateFileEntry( |
Profile* profile, |
const Extension* extension, |
int renderer_id, |