diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-19 19:40:31 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-19 19:40:31 +0000 |
commit | dc895236268d5f20f45c3ed86f1f70f65853cd80 (patch) | |
tree | fa69c05cacb50a7f12e3fce8f23fc974ab43039b /content/public/test/test_file_system_context.h | |
parent | d8911efaf3cd3635a1edcc985c81416bebebd3a7 (diff) | |
download | chromium_src-dc895236268d5f20f45c3ed86f1f70f65853cd80.zip chromium_src-dc895236268d5f20f45c3ed86f1f70f65853cd80.tar.gz chromium_src-dc895236268d5f20f45c3ed86f1f70f65853cd80.tar.bz2 |
Add mechanism to auto mount file systems in response to a URL request.
This code adds a hook for when a file system URL request can not be cracked.
It will allow external media galleries file systems to be lazily created.
BUG=160900
Review URL: https://codereview.chromium.org/195923002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258064 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/test/test_file_system_context.h')
-rw-r--r-- | content/public/test/test_file_system_context.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/content/public/test/test_file_system_context.h b/content/public/test/test_file_system_context.h index 19a4fc4..8b7c872 100644 --- a/content/public/test/test_file_system_context.h +++ b/content/public/test/test_file_system_context.h @@ -7,6 +7,7 @@ #include "base/files/file_path.h" #include "base/memory/scoped_vector.h" +#include "webkit/browser/fileapi/file_system_context.h" namespace quota { class QuotaManagerProxy; @@ -14,7 +15,6 @@ class SpecialStoragePolicy; } namespace fileapi { -class FileSystemContext; class FileSystemBackend; } @@ -32,6 +32,13 @@ CreateFileSystemContextWithAdditionalProvidersForTesting( ScopedVector<fileapi::FileSystemBackend> additional_providers, const base::FilePath& base_path); +fileapi::FileSystemContext* +CreateFileSystemContextWithAutoMountersForTesting( + quota::QuotaManagerProxy* quota_manager_proxy, + ScopedVector<fileapi::FileSystemBackend> additional_providers, + const std::vector<fileapi::URLRequestAutoMountHandler>& auto_mounters, + const base::FilePath& base_path); + fileapi::FileSystemContext* CreateIncognitoFileSystemContextForTesting( quota::QuotaManagerProxy* quota_manager_proxy, const base::FilePath& base_path); |