| 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 88b8197dd34a34ab79d099d973420bb09372d523..efb27c4df6b803d82a429abec4ca20dddb229b80 100644
|
| --- a/content/browser/fileapi/fileapi_message_filter.h
|
| +++ b/content/browser/fileapi/fileapi_message_filter.h
|
| @@ -6,6 +6,7 @@
|
| #define CONTENT_BROWSER_FILEAPI_FILEAPI_MESSAGE_FILTER_H_
|
|
|
| #include <string>
|
| +#include <set>
|
|
|
| #include "base/basictypes.h"
|
| #include "base/file_util_proxy.h"
|
| @@ -102,6 +103,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 OnNotifyFileClosed(const GURL& path);
|
| void OnWillUpdate(const GURL& path);
|
| void OnDidUpdate(const GURL& path, int64 delta);
|
| void OnSyncGetPlatformPath(const GURL& path,
|
| @@ -179,6 +181,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);
|
| };
|
|
|
|
|