Chromium Code Reviews| Index: webkit/fileapi/file_system_path_manager.cc |
| =================================================================== |
| --- webkit/fileapi/file_system_path_manager.cc (revision 89253) |
| +++ webkit/fileapi/file_system_path_manager.cc (working copy) |
| @@ -31,6 +31,7 @@ |
| using base::PlatformFileError; |
| static const char kExtensionScheme[] = "chrome-extension"; |
| +static const char kChromeScheme[] = "chrome"; |
| namespace fileapi { |
| @@ -105,7 +106,7 @@ |
| // Basically we only accept http or https. We allow file:// URLs |
| // only if --allow-file-access-from-files flag is given. |
| return url.SchemeIs("http") || url.SchemeIs("https") || |
| - url.SchemeIs(kExtensionScheme) || |
| + url.SchemeIs(kExtensionScheme) || url.SchemeIs(kChromeScheme) || |
|
eroman
2011/06/16 00:42:02
you will need someone from corresponding OWNERS to
mmenke
2011/06/16 16:16:53
Will do.
|
| (url.SchemeIsFile() && allow_file_access_from_files_); |
| } |