Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5628)

Unified Diff: chrome/common/file_system/file_system_dispatcher.cc

Issue 3603014: Reapply 61613 that was reverted for false valgrind alarm. (Closed)
Patch Set: '' Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/file_system/file_system_dispatcher.h ('k') | chrome/common/file_system/webfilesystem_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/file_system/file_system_dispatcher.cc
diff --git a/chrome/common/file_system/file_system_dispatcher.cc b/chrome/common/file_system/file_system_dispatcher.cc
index a8761a2c7820065fa6bb97872bcdd7cd7776dfa1..bc52f3ab050f56948942e93a0d2486c71285a62d 100644
--- a/chrome/common/file_system/file_system_dispatcher.cc
+++ b/chrome/common/file_system/file_system_dispatcher.cc
@@ -67,10 +67,11 @@ bool FileSystemDispatcher::Copy(
bool FileSystemDispatcher::Remove(
const FilePath& path,
+ bool recursive,
fileapi::FileSystemCallbackDispatcher* dispatcher) {
int request_id = dispatchers_.Add(dispatcher);
return ChildThread::current()->Send(
- new ViewHostMsg_FileSystem_Remove(request_id, path));
+ new ViewHostMsg_FileSystem_Remove(request_id, path, recursive));
}
bool FileSystemDispatcher::ReadMetadata(
@@ -219,4 +220,3 @@ void FileSystemDispatcher::DidWrite(
if (complete)
dispatchers_.Remove(request_id);
}
-
« no previous file with comments | « chrome/common/file_system/file_system_dispatcher.h ('k') | chrome/common/file_system/webfilesystem_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698