| Index: content/browser/fileapi/fileapi_message_filter.h
|
| diff --git a/content/browser/fileapi/fileapi_message_filter.h b/content/browser/fileapi/fileapi_message_filter.h
|
| index d3d5ccd7e0585649da4c40ab3e12c4344750737b..bd6dba4e32b96c6efe004b4e94985a4108643286 100644
|
| --- a/content/browser/fileapi/fileapi_message_filter.h
|
| +++ b/content/browser/fileapi/fileapi_message_filter.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CONTENT_BROWSER_FILEAPI_FILEAPI_MESSAGE_FILTER_H_
|
| #define CONTENT_BROWSER_FILEAPI_FILEAPI_MESSAGE_FILTER_H_
|
|
|
| +#include <set>
|
| #include <string>
|
|
|
| #include "base/basictypes.h"
|
| @@ -103,6 +104,7 @@ class FileAPIMessageFilter : public content::BrowserMessageFilter {
|
| const base::Time& last_modified_time);
|
| void OnCancel(int request_id, int request_to_cancel);
|
| void OnOpenFile(int request_id, const GURL& path, int file_flags);
|
| + void OnNotifyCloseFile(const GURL& path);
|
| void OnWillUpdate(const GURL& path);
|
| void OnDidUpdate(const GURL& path, int64 delta);
|
| void OnSyncGetPlatformPath(const GURL& path,
|
| @@ -132,6 +134,7 @@ class FileAPIMessageFilter : public content::BrowserMessageFilter {
|
| const std::vector<base::FileUtilProxy::Entry>& entries,
|
| bool has_more);
|
| void DidOpenFile(int request_id,
|
| + const GURL& path,
|
| base::PlatformFileError result,
|
| base::PlatformFile file,
|
| base::ProcessHandle peer_handle);
|
| @@ -180,6 +183,10 @@ class FileAPIMessageFilter : public content::BrowserMessageFilter {
|
| // all of them when the renderer process dies.
|
| base::hash_set<std::string> blob_urls_;
|
|
|
| + // Keep track of file system file URLs opened by OpenFile() in this process.
|
| + // Need to close all of them when the renderer process dies.
|
| + std::multiset<GURL> open_filesystem_urls_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(FileAPIMessageFilter);
|
| };
|
|
|
|
|