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

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

Issue 391613002: Revert 282890 "[fsp] Add an option for mounting in R/W mode." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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
Index: trunk/src/chrome/browser/chromeos/file_system_provider/mount_path_util_unittest.cc
===================================================================
--- trunk/src/chrome/browser/chromeos/file_system_provider/mount_path_util_unittest.cc (revision 282899)
+++ trunk/src/chrome/browser/chromeos/file_system_provider/mount_path_util_unittest.cc (working copy)
@@ -127,7 +127,7 @@
TEST_F(FileSystemProviderMountPathUtilTest, Parser) {
const bool result = file_system_provider_service_->MountFileSystem(
- kExtensionId, kFileSystemId, kDisplayName, false /* writable */);
+ kExtensionId, kFileSystemId, kDisplayName);
ASSERT_TRUE(result);
const ProvidedFileSystemInfo file_system_info =
file_system_provider_service_->GetProvidedFileSystem(kExtensionId,
@@ -151,7 +151,7 @@
TEST_F(FileSystemProviderMountPathUtilTest, Parser_RootPath) {
const bool result = file_system_provider_service_->MountFileSystem(
- kExtensionId, kFileSystemId, kDisplayName, false /* writable */);
+ kExtensionId, kFileSystemId, kDisplayName);
ASSERT_TRUE(result);
const ProvidedFileSystemInfo file_system_info =
file_system_provider_service_->GetProvidedFileSystem(kExtensionId,
@@ -177,7 +177,6 @@
kExtensionId,
kFileSystemId,
kDisplayName,
- false /* writable */,
GetMountPath(profile_, kExtensionId, kFileSystemId));
const base::FilePath kFilePath = base::FilePath::FromUTF8Unsafe("/hello");
@@ -193,7 +192,7 @@
TEST_F(FileSystemProviderMountPathUtilTest, Parser_IsolatedURL) {
const bool result = file_system_provider_service_->MountFileSystem(
- kExtensionId, kFileSystemId, kDisplayName, false /* writable */);
+ kExtensionId, kFileSystemId, kDisplayName);
ASSERT_TRUE(result);
const ProvidedFileSystemInfo file_system_info =
file_system_provider_service_->GetProvidedFileSystem(kExtensionId,
@@ -239,7 +238,7 @@
TEST_F(FileSystemProviderMountPathUtilTest, LocalPathParser) {
const bool result = file_system_provider_service_->MountFileSystem(
- kExtensionId, kFileSystemId, kDisplayName, false /* writable */);
+ kExtensionId, kFileSystemId, kDisplayName);
ASSERT_TRUE(result);
const ProvidedFileSystemInfo file_system_info =
file_system_provider_service_->GetProvidedFileSystem(kExtensionId,
@@ -263,7 +262,7 @@
TEST_F(FileSystemProviderMountPathUtilTest, LocalPathParser_RootPath) {
const bool result = file_system_provider_service_->MountFileSystem(
- kExtensionId, kFileSystemId, kDisplayName, false /* writable */);
+ kExtensionId, kFileSystemId, kDisplayName);
ASSERT_TRUE(result);
const ProvidedFileSystemInfo file_system_info =
file_system_provider_service_->GetProvidedFileSystem(kExtensionId,

Powered by Google App Engine
This is Rietveld 408576698