| Index: chrome/browser/chromeos/cros/mount_library.h
|
| ===================================================================
|
| --- chrome/browser/chromeos/cros/mount_library.h (revision 95908)
|
| +++ chrome/browser/chromeos/cros/mount_library.h (working copy)
|
| @@ -24,9 +24,7 @@
|
| MOUNT_DISK_UNMOUNTED,
|
| MOUNT_DEVICE_ADDED,
|
| MOUNT_DEVICE_REMOVED,
|
| - MOUNT_DEVICE_SCANNED,
|
| - MOUNT_FORMATTING_STARTED,
|
| - MOUNT_FORMATTING_FINISHED
|
| + MOUNT_DEVICE_SCANNED
|
| } MountLibraryEventType;
|
|
|
| // This class handles the interaction with the ChromeOS mount library APIs.
|
| @@ -102,7 +100,6 @@
|
| bool on_boot_device_;
|
| };
|
| typedef std::map<std::string, Disk*> DiskMap;
|
| - typedef std::map<std::string, std::string> PathMap;
|
|
|
| // MountPointInfo: {mount_path, mount_type}.
|
| struct MountPointInfo {
|
| @@ -148,14 +145,6 @@
|
| // |path| may be source od mount path.
|
| virtual void UnmountPath(const char* path) = 0;
|
|
|
| - // Formats device given its file path.
|
| - // Example: file_path: /dev/sdb1
|
| - virtual void FormatUnmountedDevice(const char* file_path) = 0;
|
| -
|
| - // Formats Device given its mount path. Unmount's the device
|
| - // Example: mount_path: /media/VOLUME_LABEL
|
| - virtual void FormatMountedDevice(const char* mount_path) = 0;
|
| -
|
| // Unmounts device_poath and all of its known children.
|
| virtual void UnmountDeviceRecursive(const char* device_path,
|
| UnmountDeviceRecursiveCallbackType callback, void* user_data) = 0;
|
|
|