Index: content/browser/fileapi/fileapi_message_filter.cc |
diff --git a/content/browser/fileapi/fileapi_message_filter.cc b/content/browser/fileapi/fileapi_message_filter.cc |
index d9af761e796a2452f8569de248d347c50d86f2b2..326464c19f2c74a09ed5e061fd193d847e6f9207 100644 |
--- a/content/browser/fileapi/fileapi_message_filter.cc |
+++ b/content/browser/fileapi/fileapi_message_filter.cc |
@@ -757,10 +757,12 @@ void FileAPIMessageFilter::DidCreateSnapshot( |
// when the filesystem has been granted permissions. This happens with: |
// - Drive filesystems |
// - Picasa filesystems |
+ // - iTunes filesystems |
DCHECK(snapshot_file.get() || |
fileapi::SandboxMountPointProvider::IsSandboxType(url.type()) || |
url.type() == fileapi::kFileSystemTypeDrive || |
- url.type() == fileapi::kFileSystemTypePicasa); |
+ url.type() == fileapi::kFileSystemTypePicasa || |
+ url.type() == fileapi::kFileSystemTypeItunes); |
kinuko
2013/06/07 05:45:13
Hmm, this part seems to need some cleanup...
|
ChildProcessSecurityPolicyImpl::GetInstance()->GrantReadFile( |
process_id_, platform_path); |
if (snapshot_file.get()) { |