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

Unified Diff: content/common/fileapi/file_system_dispatcher.cc

Issue 10600013: Wired support for file truncating with RemoteFileSystemOperation::OpenFile() method (case when base… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
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 dc3309e61b7b8ba10b9870231ad79b6892ac3843..cdc61321b7a882c377bfc06e12b2bee6a6dd396d 100644
--- a/content/common/fileapi/file_system_dispatcher.cc
+++ b/content/common/fileapi/file_system_dispatcher.cc
@@ -230,6 +230,12 @@ bool FileSystemDispatcher::OpenFile(
return true;
}
+bool FileSystemDispatcher::NotifyFileClosed(
+ const GURL& path) {
+ return ChildThread::current()->Send(
+ new FileSystemHostMsg_NotifyFileClosed(path));
+}
+
bool FileSystemDispatcher::CreateSnapshotFile(
const GURL& blob_url,
const GURL& file_path,

Powered by Google App Engine
This is Rietveld 408576698