/external/chromium/chrome/browser/chromeos/cros/ |
mount_library.cc | 18 MountLibrary::Disk::Disk(const std::string& device_path, 112 virtual void RefreshDiskProperties(const Disk* disk) OVERRIDE { 114 DCHECK(disk); variable 116 OnGetDiskProperties(disk->device_path().c_str(), 122 GetDiskProperties(disk->device_path().c_str(), 158 // Callback for disk information retrieval calls. 161 const DiskInfo* disk, 167 disk, 209 Disk* disk = iter->second; local 231 Disk* disk = iter->second; local 254 const DiskInfoAdvanced* disk = local 350 Disk* disk = iter->second; local 378 Disk* disk = iter->second; local [all...] |
mount_library.h | 36 class Disk { 38 Disk(const std::string& device_path, 61 // If disk is a parent, then its label, else parents label. 96 typedef std::map<std::string, Disk*> DiskMap; 103 const Disk* disk) = 0;
|
/external/chromium_org/chromeos/disks/ |
disk_mount_manager.cc | 111 DiskMap::const_iterator disk = disks_.find(device_path); variable 112 if (disk == disks_.end()) { 118 UnmountPath(disk->second->mount_path(), 201 virtual const Disk* FindDiskBySourcePath(const std::string& source_path) 213 virtual bool AddDiskForTest(Disk* disk) OVERRIDE { 214 if (disks_.find(disk->device_path()) != disks_.end()) { 215 LOG(ERROR) << "Attempt to add a duplicate disk"; 219 disks_.insert(std::make_pair(disk->device_path(), disk)); 333 Disk* disk = iter->second; local 387 DiskMap::const_iterator disk = disks_.find(device_path); local 427 Disk* disk = new Disk(disk_info.device_path(), local 468 Disk* disk = iter->second; local 495 Disk* disk = iter->second; local [all...] |
disk_mount_manager.h | 52 class Disk { 54 Disk(const std::string& device_path, 73 ~Disk(); 94 // If disk is a parent, then its label, else parents label. 167 typedef std::map<std::string, Disk*> DiskMap; 201 // Implement this interface to be notified about disk/mount related events. 206 // Called when disk mount status is changed. 207 virtual void OnDiskEvent(DiskEvent event, const Disk* disk) = 0; 232 // Returns Disk object corresponding to |source_path| or NULL on failure [all...] |