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

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

Issue 14472008: [FileAPI] Add file open ID and close callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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 ed5aa2b912a1a8a1d35dc32140c12cdedf5e4ad1..f38cd0d3db55fefb22d07c142a01f366eb36e7df 100644
--- a/content/common/fileapi/file_system_dispatcher.h
+++ b/content/common/fileapi/file_system_dispatcher.h
@@ -90,7 +90,7 @@ class FileSystemDispatcher : public IPC::Listener {
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 NotifyCloseFile(int file_open_id);
bool CreateSnapshotFile(const GURL& file_path,
fileapi::FileSystemCallbackDispatcher* dispatcher);
@@ -116,6 +116,7 @@ class FileSystemDispatcher : public IPC::Listener {
void OnDidOpenFile(
int request_id,
IPC::PlatformFileForTransit file,
+ int file_open_id,
quota::QuotaLimitType quota_policy);
IDMap<fileapi::FileSystemCallbackDispatcher, IDMapOwnPointer> dispatchers_;
« 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