| 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());
|
|
|