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

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: Rebase. Created 8 years, 5 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 | « content/browser/fileapi/fileapi_message_filter.cc ('k') | content/common/fileapi/file_system_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fb029f0c087a11640909a452b8395473f4c5b00d..59d9d5a4b56d7ddd367116a40330ce8e694c02a3 100644
--- a/content/common/fileapi/file_system_dispatcher.h
+++ b/content/common/fileapi/file_system_dispatcher.h
@@ -82,6 +82,9 @@ class FileSystemDispatcher : public IPC::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,
« no previous file with comments | « content/browser/fileapi/fileapi_message_filter.cc ('k') | content/common/fileapi/file_system_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698