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

Unified Diff: chrome/browser/chromeos/cros/mount_library.h

Issue 7466046: Some filebrowser bugs and retiring DiskChanged event in filebrowser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/cros/mount_library.h
===================================================================
--- chrome/browser/chromeos/cros/mount_library.h (revision 95171)
+++ chrome/browser/chromeos/cros/mount_library.h (working copy)
@@ -104,7 +104,6 @@
typedef std::map<std::string, Disk*> DiskMap;
typedef std::map<std::string, std::string> PathMap;
- // MountPointInfo: {mount_path, mount_type}.
struct MountPointInfo {
std::string source_path;
std::string mount_path;
@@ -117,7 +116,7 @@
}
};
- // MountPointMap key is source_path.
+ // MountPointMap key is mount_path.
typedef std::map<std::string, MountPointInfo> MountPointMap;
typedef void(*UnmountDeviceRecursiveCallbackType)(void*, bool);
@@ -131,8 +130,8 @@
virtual void DeviceChanged(MountLibraryEventType event,
const std::string& device_path ) = 0;
virtual void MountCompleted(MountEvent event_type,
- MountError error_code,
- const MountPointInfo& mount_info) = 0;
+ MountError error_code,
+ const MountPointInfo& mount_info) = 0;
};
virtual ~MountLibrary() {}
@@ -145,7 +144,7 @@
virtual void MountPath(const char* source_path,
MountType type,
const MountPathOptions& options) = 0;
- // |path| may be source od mount path.
+ // |path| is device's mount path.
virtual void UnmountPath(const char* path) = 0;
// Formats device given its file path.

Powered by Google App Engine
This is Rietveld 408576698