summaryrefslogtreecommitdiffstats
path: root/webkit/browser/fileapi/file_system_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/browser/fileapi/file_system_context.h')
-rw-r--r--webkit/browser/fileapi/file_system_context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/browser/fileapi/file_system_context.h b/webkit/browser/fileapi/file_system_context.h
index 769420f..9762b68 100644
--- a/webkit/browser/fileapi/file_system_context.h
+++ b/webkit/browser/fileapi/file_system_context.h
@@ -227,6 +227,10 @@ class WEBKIT_STORAGE_BROWSER_EXPORT FileSystemContext
return sandbox_delegate_.get();
}
+ // Returns true if the requested url is ok to be served.
+ // (E.g. this returns false if the context is created for incognito mode)
+ bool CanServeURLRequest(const FileSystemURL& url) const;
+
private:
typedef std::map<FileSystemType, FileSystemBackend*>
FileSystemBackendMap;
@@ -308,6 +312,8 @@ class WEBKIT_STORAGE_BROWSER_EXPORT FileSystemContext
// The base path of the storage partition for this context.
const base::FilePath partition_path_;
+ bool is_incognito_;
+
scoped_ptr<FileSystemOperationRunner> operation_runner_;
DISALLOW_IMPLICIT_CONSTRUCTORS(FileSystemContext);