Chromium Code Reviews| Index: chrome/browser/chromeos/fileapi/file_system_backend.cc |
| diff --git a/chrome/browser/chromeos/fileapi/file_system_backend.cc b/chrome/browser/chromeos/fileapi/file_system_backend.cc |
| index f25daa0822bbca76b43c55c6ce4e8508d3339bef..13b33df7e0ec763ef9dde3ed115ac03603b05c44 100644 |
| --- a/chrome/browser/chromeos/fileapi/file_system_backend.cc |
| +++ b/chrome/browser/chromeos/fileapi/file_system_backend.cc |
| @@ -142,6 +142,13 @@ bool FileSystemBackend::IsAccessAllowed( |
| return false; |
| std::string extension_id = origin_url.host(); |
| + // TODO(mtomasz): Temporarily whitelist TimeScapes. Remove this in M-31. |
| + // See: crbug.com/271946 |
| + if (extension_id == "mppoamgbcpnkpacolchbacppkflagjbp" && |
| + url.mount_type() == fileapi::kFileSystemTypeRestrictedNativeLocal) { |
|
tbarzic
2013/08/14 23:18:10
does this actually work?
I think that url.mount_ty
mtomasz
2013/08/15 02:02:21
Oops! Good catch!
|
| + return true; |
| + } |
| + |
| // Check first to make sure this extension has fileBrowserHander permissions. |
| if (!special_storage_policy_->IsFileHandler(extension_id)) |
| return false; |