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

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

Issue 10541113: Notify CloseFile from Pepper to FileSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added DLOG, DCHECK. 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.h
diff --git a/content/common/fileapi/file_system_dispatcher.h b/content/common/fileapi/file_system_dispatcher.h
index 8da0ff30a53340843a1179d1d9b8e4477f1360d3..6c29ecf5f110cae776771008bc546ad6084971a5 100644
--- a/content/common/fileapi/file_system_dispatcher.h
+++ b/content/common/fileapi/file_system_dispatcher.h
@@ -83,6 +83,9 @@ class FileSystemDispatcher : public IPC::Channel::Listener {
bool OpenFile(const GURL& file_path,
int file_flags, // passed to FileUtilProxy::CreateOrOpen
fileapi::FileSystemCallbackDispatcher* dispatcher);
+ // This must be paired with OpenFile, and called after finished using the
+ // raw PlatformFile returned from OpenFile.
+ bool NotifyCloseFile(const GURL& file_path);
bool CreateSnapshotFile(const GURL& blod_url,
const GURL& file_path,

Powered by Google App Engine
This is Rietveld 408576698