From 1e2da17f0ad005628ac166e9fdab757d29576e32 Mon Sep 17 00:00:00 2001 From: "pneubeck@chromium.org" Date: Thu, 20 Mar 2014 10:01:20 +0000 Subject: 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 --- .../browser/fileapi/file_system_context_unittest.cc | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'content/browser/fileapi/file_system_context_unittest.cc') 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(), - std::vector(), - 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(), + data_dir_.path(), + CreateAllowFileAccessOptions()); } // Verifies a *valid* filesystem url has expected values. -- cgit v1.1