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

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

Issue 244623003: [fsp] [recommit] Add FileSystemURLParser to the file system provider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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 | « 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: chrome/browser/chromeos/file_system_provider/service_unittest.cc
diff --git a/chrome/browser/chromeos/file_system_provider/service_unittest.cc b/chrome/browser/chromeos/file_system_provider/service_unittest.cc
index b155937c8989ffe0b932f7c325846b1a1f87a511..65d972c212db922e9acd06105e0744fd7adaa3fb 100644
--- a/chrome/browser/chromeos/file_system_provider/service_unittest.cc
+++ b/chrome/browser/chromeos/file_system_provider/service_unittest.cc
@@ -105,10 +105,6 @@ class FileSystemProviderServiceTest : public testing::Test {
extension_ = createFakeExtension(kExtensionId);
}
- virtual void TearDown() {
- fileapi::ExternalMountPoints::GetSystemInstance()->RevokeAllFileSystems();
- }
-
content::TestBrowserThreadBundle thread_bundle_;
scoped_ptr<TestingProfile> profile_;
FakeUserManager* user_manager_;
@@ -130,7 +126,7 @@ TEST_F(FileSystemProviderServiceTest, MountFileSystem) {
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::GetMountPointPath(profile_.get(), kExtensionId, file_system_id);
+ util::GetMountPath(profile_.get(), kExtensionId, file_system_id);
EXPECT_EQ(expected_mount_path.AsUTF8Unsafe(),
observer.mounts[0].file_system_info().mount_path().AsUTF8Unsafe());
EXPECT_EQ(kFileSystemName,
@@ -216,7 +212,7 @@ TEST_F(FileSystemProviderServiceTest, UnmountFileSystem) {
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::GetMountPointPath(profile_.get(), kExtensionId, file_system_id);
+ util::GetMountPath(profile_.get(), kExtensionId, file_system_id);
EXPECT_EQ(
expected_mount_path.AsUTF8Unsafe(),
observer.unmounts[0].file_system_info().mount_path().AsUTF8Unsafe());
@@ -252,7 +248,7 @@ TEST_F(FileSystemProviderServiceTest, UnmountFileSystem_OnExtensionUnload) {
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::GetMountPointPath(profile_.get(), kExtensionId, file_system_id);
+ util::GetMountPath(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 | « 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