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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/open_file_unittest.cc

Issue 624903002: [fsp] Group arguments for mounting into a struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a bug. Created 6 years, 2 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: chrome/browser/chromeos/file_system_provider/operations/open_file_unittest.cc
diff --git a/chrome/browser/chromeos/file_system_provider/operations/open_file_unittest.cc b/chrome/browser/chromeos/file_system_provider/operations/open_file_unittest.cc
index 2a0545f3ad0bd310bad86f08cb0f32f241c184cc..d770d498d099a2620bbfbcc359f65f35c8013de0 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/open_file_unittest.cc
+++ b/chrome/browser/chromeos/file_system_provider/operations/open_file_unittest.cc
@@ -72,13 +72,10 @@ class FileSystemProviderOperationsOpenFileTest : public testing::Test {
virtual ~FileSystemProviderOperationsOpenFileTest() {}
virtual void SetUp() override {
- file_system_info_ =
- ProvidedFileSystemInfo(kExtensionId,
- kFileSystemId,
- "" /* display_name */,
- false /* writable */,
- false /* supports_notify_tag */,
- base::FilePath() /* mount_path */);
+ file_system_info_ = ProvidedFileSystemInfo(
+ kExtensionId,
+ MountOptions(kFileSystemId, "" /* display_name */),
+ base::FilePath());
}
ProvidedFileSystemInfo file_system_info_;
@@ -145,10 +142,7 @@ TEST_F(FileSystemProviderOperationsOpenFileTest, Execute_ReadOnly) {
const ProvidedFileSystemInfo read_only_file_system_info(
kExtensionId,
- kFileSystemId,
- "" /* file_system_name */,
- false /* writable */,
- false /* supports_notify_tag */,
+ MountOptions(kFileSystemId, "" /* display_name */),
base::FilePath() /* mount_path */);
// Opening for read on a read-only file system is allowed.

Powered by Google App Engine
This is Rietveld 408576698