Index: webkit/browser/fileapi/file_system_context.h |
diff --git a/webkit/browser/fileapi/file_system_context.h b/webkit/browser/fileapi/file_system_context.h |
index 769420f17e5650fbab8e9147720bb8e92e60121a..9762b68ebc1c15708c5318f4fa5b285c10a91227 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); |