Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: trunk/src/chrome/browser/chromeos/file_system_provider/service_unittest.cc

Issue 242113007: Revert 264780 "[fsp] Add FileSystemURLParser to the file system ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/chrome/browser/chromeos/file_system_provider/service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/chromeos/file_system_provider/service_unittest.cc
===================================================================
--- trunk/src/chrome/browser/chromeos/file_system_provider/service_unittest.cc (revision 264799)
+++ trunk/src/chrome/browser/chromeos/file_system_provider/service_unittest.cc (working copy)
@@ -82,6 +82,10 @@
base::Bind(&FakeProvidedFileSystem::Create));
}
+ virtual void TearDown() {
+ fileapi::ExternalMountPoints::GetSystemInstance()->RevokeAllFileSystems();
+ }
+
content::TestBrowserThreadBundle thread_bundle_;
scoped_ptr<TestingProfile> profile_;
scoped_ptr<ScopedUserManagerEnabler> user_manager_enabler_;
@@ -101,7 +105,7 @@
EXPECT_EQ(kExtensionId, observer.mounts[0].file_system_info().extension_id());
EXPECT_EQ(1, observer.mounts[0].file_system_info().file_system_id());
base::FilePath expected_mount_path =
- util::GetMountPath(profile_.get(), kExtensionId, file_system_id);
+ util::GetMountPointPath(profile_.get(), kExtensionId, file_system_id);
EXPECT_EQ(expected_mount_path.AsUTF8Unsafe(),
observer.mounts[0].file_system_info().mount_path().AsUTF8Unsafe());
EXPECT_EQ(kFileSystemName,
@@ -187,7 +191,7 @@
observer.unmounts[0].file_system_info().extension_id());
EXPECT_EQ(1, observer.unmounts[0].file_system_info().file_system_id());
base::FilePath expected_mount_path =
- util::GetMountPath(profile_.get(), kExtensionId, file_system_id);
+ util::GetMountPointPath(profile_.get(), kExtensionId, file_system_id);
EXPECT_EQ(
expected_mount_path.AsUTF8Unsafe(),
observer.unmounts[0].file_system_info().mount_path().AsUTF8Unsafe());
« no previous file with comments | « trunk/src/chrome/browser/chromeos/file_system_provider/service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698