summaryrefslogtreecommitdiffstats
path: root/content/public/test/test_file_system_context.h
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-19 19:40:31 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-19 19:40:31 +0000
commitdc895236268d5f20f45c3ed86f1f70f65853cd80 (patch)
treefa69c05cacb50a7f12e3fce8f23fc974ab43039b /content/public/test/test_file_system_context.h
parentd8911efaf3cd3635a1edcc985c81416bebebd3a7 (diff)
downloadchromium_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.h9
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);