summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_test_helper.h
diff options
context:
space:
mode:
authorericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-28 01:12:18 +0000
committerericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-28 01:12:18 +0000
commit054702d224472e01faf94482e2219ff1cd2b1aa7 (patch)
tree4e4a2074c84c7acf8a31ff40af9eb372b0037c0d /webkit/fileapi/file_system_test_helper.h
parent1ebd7b1c556b39785a7e7fb80e959caf2e43fe93 (diff)
downloadchromium_src-054702d224472e01faf94482e2219ff1cd2b1aa7.zip
chromium_src-054702d224472e01faf94482e2219ff1cd2b1aa7.tar.gz
chromium_src-054702d224472e01faf94482e2219ff1cd2b1aa7.tar.bz2
Code to turn on obfuscated filesystems for all, and to migrate all existing users automatically whenever they next access the filesystem or check its quota usage.
Avi, I've added you just for the ChildProcessSecurity stuff in worker_process_host.cc and browser_render_process_host.cc. Drop me a line if you need to know what's going on there. This is for M13, so please ask soon. BUG=none TEST=unit tests Review URL: http://codereview.chromium.org/6976017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87129 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_test_helper.h')
-rw-r--r--webkit/fileapi/file_system_test_helper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/fileapi/file_system_test_helper.h b/webkit/fileapi/file_system_test_helper.h
index c813cf7..5f8ab88 100644
--- a/webkit/fileapi/file_system_test_helper.h
+++ b/webkit/fileapi/file_system_test_helper.h
@@ -40,6 +40,12 @@ class FileSystemTestOriginHelper {
~FileSystemTestOriginHelper();
void SetUp(const FilePath& base_dir, FileSystemFileUtil* file_util);
+ // If you want to use more than one FileSystemTestOriginHelper in a single
+ // base directory, they have to share a context, so that they don't have
+ // multiple databases fighting over the lock to the origin directory [deep
+ // down inside ObfuscatedFileSystemFileUtil].
+ void SetUp(FileSystemContext* file_system_context,
+ FileSystemFileUtil* file_util);
void SetUp(const FilePath& base_dir,
bool incognito_mode,
bool unlimited_quota,