summaryrefslogtreecommitdiffstats
path: root/content/browser/fileapi/file_system_context_unittest.cc
diff options
context:
space:
mode:
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-20 10:01:20 +0000
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-20 10:01:20 +0000
commit1e2da17f0ad005628ac166e9fdab757d29576e32 (patch)
treedb1c61ec5d16e5f4c308569603ced3549dcc0ff4 /content/browser/fileapi/file_system_context_unittest.cc
parent72600dd9457b4c4bda484cd4679c3d399f348e10 (diff)
downloadchromium_src-1e2da17f0ad005628ac166e9fdab757d29576e32.zip
chromium_src-1e2da17f0ad005628ac166e9fdab757d29576e32.tar.gz
chromium_src-1e2da17f0ad005628ac166e9fdab757d29576e32.tar.bz2
Revert of Add mechanism to auto mount file systems in response to a URL request. (https://codereview.chromium.org/195923002/)
Reason for revert: Best guess that this broke SyncFileSystemApiTest.WriteFileThenGetUsage SyncFileSystemApiTest.GetFileStatuses MediaGalleriesPlatformAppBrowserTest.MediaGalleriesCopyTo on XP Tests(1). Original issue's description: > 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 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258064 TBR=kinuko@chromium.org,tzik@chromium.org,joi@chromium.org,sky@chromium.org,vandebo@chromium.org NOTREECHECKS=true NOTRY=true BUG=160900 Review URL: https://codereview.chromium.org/206253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/fileapi/file_system_context_unittest.cc')
-rw-r--r--content/browser/fileapi/file_system_context_unittest.cc18
1 files changed, 8 insertions, 10 deletions
diff --git a/content/browser/fileapi/file_system_context_unittest.cc b/content/browser/fileapi/file_system_context_unittest.cc
index ad8997d..f989ed7 100644
--- a/content/browser/fileapi/file_system_context_unittest.cc
+++ b/content/browser/fileapi/file_system_context_unittest.cc
@@ -66,16 +66,14 @@ class FileSystemContextTest : public testing::Test {
protected:
FileSystemContext* CreateFileSystemContextForTest(
fileapi::ExternalMountPoints* external_mount_points) {
- return new FileSystemContext(
- base::MessageLoopProxy::current().get(),
- base::MessageLoopProxy::current().get(),
- external_mount_points,
- storage_policy_.get(),
- mock_quota_manager_->proxy(),
- ScopedVector<FileSystemBackend>(),
- std::vector<fileapi::URLRequestAutoMountHandler>(),
- data_dir_.path(),
- CreateAllowFileAccessOptions());
+ return new FileSystemContext(base::MessageLoopProxy::current().get(),
+ base::MessageLoopProxy::current().get(),
+ external_mount_points,
+ storage_policy_.get(),
+ mock_quota_manager_->proxy(),
+ ScopedVector<FileSystemBackend>(),
+ data_dir_.path(),
+ CreateAllowFileAccessOptions());
}
// Verifies a *valid* filesystem url has expected values.