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 359fe018cf1823e365e544f154afb9df3519de22..2c929fe051df1c9e1e576fdb1fbcae27db35e3a6 100644 |
--- a/content/common/fileapi/file_system_dispatcher.cc |
+++ b/content/common/fileapi/file_system_dispatcher.cc |
@@ -53,6 +53,19 @@ bool FileSystemDispatcher::OpenFileSystem( |
return true; |
} |
+bool FileSystemDispatcher::DeleteFileSystem( |
+ const GURL& origin_url, |
+ fileapi::FileSystemType type, |
+ fileapi::FileSystemCallbackDispatcher* dispatcher) { |
+ int request_id = dispatchers_.Add(dispatcher); |
+ if (!ChildThread::current()->Send(new FileSystemHostMsg_DeleteFileSystem( |
+ request_id, origin_url, type))) { |
+ dispatchers_.Remove(request_id); |
+ return false; |
+ } |
+ return true; |
+} |
+ |
bool FileSystemDispatcher::Move( |
const GURL& src_path, |
const GURL& dest_path, |