summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/fileapi/file_system_context.h')
-rw-r--r--webkit/fileapi/file_system_context.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/fileapi/file_system_context.h b/webkit/fileapi/file_system_context.h
index d72a3ca..6c43037 100644
--- a/webkit/fileapi/file_system_context.h
+++ b/webkit/fileapi/file_system_context.h
@@ -11,6 +11,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/platform_file.h"
+#include "base/sequenced_task_runner_helpers.h"
#include "webkit/fileapi/file_system_types.h"
#include "webkit/quota/special_storage_policy.h"
@@ -56,7 +57,6 @@ class FileSystemContext
quota::QuotaManagerProxy* quota_manager_proxy,
const FilePath& profile_path,
const FileSystemOptions& options);
- ~FileSystemContext();
// This method can be called on any thread.
bool DeleteDataForOriginOnFileThread(const GURL& origin_url);
@@ -131,6 +131,9 @@ class FileSystemContext
private:
friend struct DefaultContextDeleter;
+ friend class base::DeleteHelper<FileSystemContext>;
+ ~FileSystemContext();
+
void DeleteOnCorrectThread() const;
scoped_refptr<base::MessageLoopProxy> file_message_loop_;