Index: content/common/fileapi/file_system_dispatcher.cc |
diff --git a/content/common/fileapi/file_system_dispatcher.cc b/content/common/fileapi/file_system_dispatcher.cc |
index 95713257bc02603555172f8efc79f7a89b465214..425b00c71b411f583b1127e856ca759e2474c5a9 100644 |
--- a/content/common/fileapi/file_system_dispatcher.cc |
+++ b/content/common/fileapi/file_system_dispatcher.cc |
@@ -247,9 +247,9 @@ bool FileSystemDispatcher::OpenFile( |
return true; |
} |
-bool FileSystemDispatcher::NotifyCloseFile(const GURL& file_path) { |
+bool FileSystemDispatcher::NotifyCloseFile(int file_open_id) { |
return ChildThread::current()->Send( |
- new FileSystemHostMsg_NotifyCloseFile(file_path)); |
+ new FileSystemHostMsg_NotifyCloseFile(file_open_id)); |
} |
bool FileSystemDispatcher::CreateSnapshotFile( |
@@ -339,11 +339,13 @@ void FileSystemDispatcher::OnDidWrite( |
void FileSystemDispatcher::OnDidOpenFile( |
int request_id, |
IPC::PlatformFileForTransit file, |
+ int file_open_id, |
quota::QuotaLimitType quota_policy) { |
fileapi::FileSystemCallbackDispatcher* dispatcher = |
dispatchers_.Lookup(request_id); |
DCHECK(dispatcher); |
dispatcher->DidOpenFile(IPC::PlatformFileForTransitToPlatformFile(file), |
+ file_open_id, |
quota_policy); |
dispatchers_.Remove(request_id); |
} |