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

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: Two code formatting issues 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/mount_library.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/mount_library.h
===================================================================
--- chrome/browser/chromeos/cros/mount_library.h (revision 96398)
+++ chrome/browser/chromeos/cros/mount_library.h (working copy)
@@ -101,7 +101,6 @@
};
typedef std::map<std::string, Disk*> DiskMap;
- // MountPointInfo: {mount_path, mount_type}.
struct MountPointInfo {
std::string source_path;
std::string mount_path;
@@ -114,7 +113,7 @@
}
};
- // MountPointMap key is source_path.
+ // MountPointMap key is mount_path.
typedef std::map<std::string, MountPointInfo> MountPointMap;
typedef void(*UnmountDeviceRecursiveCallbackType)(void*, bool);
@@ -128,8 +127,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() {}
@@ -142,7 +141,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;
// Unmounts device_poath and all of its known children.
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/mount_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698