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

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

Issue 389243002: Revert 282900 "Revert 282890 "[fsp] Add an option for mounting i..." (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 282906)
+++ 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);
+ kExtensionId, kFileSystemId, kDisplayName, false /* writable */);
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);
+ kExtensionId, kFileSystemId, kDisplayName, false /* writable */);
ASSERT_TRUE(result);
const ProvidedFileSystemInfo file_system_info =
file_system_provider_service_->GetProvidedFileSystem(kExtensionId,
@@ -177,6 +177,7 @@
kExtensionId,
kFileSystemId,
kDisplayName,
+ false /* writable */,
GetMountPath(profile_, kExtensionId, kFileSystemId));
const base::FilePath kFilePath = base::FilePath::FromUTF8Unsafe("/hello");
@@ -192,7 +193,7 @@
TEST_F(FileSystemProviderMountPathUtilTest, Parser_IsolatedURL) {
const bool result = file_system_provider_service_->MountFileSystem(
- kExtensionId, kFileSystemId, kDisplayName);
+ kExtensionId, kFileSystemId, kDisplayName, false /* writable */);
ASSERT_TRUE(result);
const ProvidedFileSystemInfo file_system_info =
file_system_provider_service_->GetProvidedFileSystem(kExtensionId,
@@ -238,7 +239,7 @@
TEST_F(FileSystemProviderMountPathUtilTest, LocalPathParser) {
const bool result = file_system_provider_service_->MountFileSystem(
- kExtensionId, kFileSystemId, kDisplayName);
+ kExtensionId, kFileSystemId, kDisplayName, false /* writable */);
ASSERT_TRUE(result);
const ProvidedFileSystemInfo file_system_info =
file_system_provider_service_->GetProvidedFileSystem(kExtensionId,
@@ -262,7 +263,7 @@
TEST_F(FileSystemProviderMountPathUtilTest, LocalPathParser_RootPath) {
const bool result = file_system_provider_service_->MountFileSystem(
- kExtensionId, kFileSystemId, kDisplayName);
+ kExtensionId, kFileSystemId, kDisplayName, false /* writable */);
ASSERT_TRUE(result);
const ProvidedFileSystemInfo file_system_info =
file_system_provider_service_->GetProvidedFileSystem(kExtensionId,

Powered by Google App Engine
This is Rietveld 408576698