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

Unified Diff: chrome/browser/chromeos/file_manager/volume_manager.h

Issue 1013973004: Allow to create read only testing volumes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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_manager/volume_manager.h
diff --git a/chrome/browser/chromeos/file_manager/volume_manager.h b/chrome/browser/chromeos/file_manager/volume_manager.h
index 562aabd811bf7d1a1122e83abfcee5ac5bbb459e..9e340b13008f0be13ae7f771f0648ea24cf505fa 100644
--- a/chrome/browser/chromeos/file_manager/volume_manager.h
+++ b/chrome/browser/chromeos/file_manager/volume_manager.h
@@ -176,7 +176,8 @@ class VolumeManager : public KeyedService,
// type. Assumes that the mount point is already registered.
void AddVolumeInfoForTesting(const base::FilePath& path,
VolumeType volume_type,
- chromeos::DeviceType device_type);
+ chromeos::DeviceType device_type,
+ bool read_only);
// drive::DriveIntegrationServiceObserver overrides.
void OnFileSystemMounted() override;

Powered by Google App Engine
This is Rietveld 408576698