/external/chromium_org/chrome/browser/chromeos/imageburner/ |
H A D | burn_device_handler.h | 13 #include "chromeos/disks/disk_mount_manager.h" 23 class BurnDeviceHandler : public disks::DiskMountManager::Observer { 26 typedef base::Callback<void(const disks::DiskMountManager::Disk& disk)> 31 explicit BurnDeviceHandler(disks::DiskMountManager* disk_mount_manager); 44 std::vector<disks::DiskMountManager::Disk> GetBurnableDevices(); 48 disks::DiskMountManager::DiskEvent event, 49 const disks::DiskMountManager::Disk* disk) OVERRIDE; 51 disks::DiskMountManager::DeviceEvent event, 54 disks::DiskMountManager::MountEvent event, 56 const disks [all...] |
H A D | burn_device_handler.cc | 12 #include "chromeos/disks/disk_mount_manager.h" 17 using disks::DiskMountManager; 47 const DiskMountManager::DiskMap& disks = disk_mount_manager_->disks(); local 49 for (DiskMountManager::DiskMap::const_iterator iter = disks.begin(); 50 iter != disks.end();
|
H A D | burn_controller.h | 12 #include "chromeos/disks/disk_mount_manager.h" 36 virtual void OnDeviceAdded(const disks::DiskMountManager::Disk& disk) = 0; 38 virtual void OnDeviceRemoved(const disks::DiskMountManager::Disk& disk) = 0; 63 virtual std::vector<disks::DiskMountManager::Disk> GetBurnableDevices() = 0;
|
H A D | burn_controller.cc | 46 const disks::DiskMountManager::Disk& disk) OVERRIDE { 52 const disks::DiskMountManager::Disk& disk) OVERRIDE { 110 virtual std::vector<disks::DiskMountManager::Disk> GetBurnableDevices() 157 disks::DiskMountManager* disk_mount_manager = 158 disks::DiskMountManager::GetInstance(); 159 const disks::DiskMountManager::Disk* disk =
|
H A D | burn_device_handler_unittest.cc | 17 #include "chromeos/disks/disk_mount_manager.h" 29 class FakeDiskMountManager : public disks::DiskMountManager { 70 virtual const DiskMap& disks() const OVERRIDE { 132 std::string* out_path, const disks::DiskMountManager::Disk& disk) { 148 static scoped_ptr<disks::DiskMountManager::Disk> CreateMockDisk( 154 return scoped_ptr<disks::DiskMountManager::Disk>( 155 new disks::DiskMountManager::Disk( 215 const std::vector<disks::DiskMountManager::Disk>& burnable_devices =
|
H A D | burn_manager.h | 20 #include "chromeos/disks/disk_mount_manager.h" 221 virtual void OnDeviceAdded(const disks::DiskMountManager::Disk& disk) = 0; 224 virtual void OnDeviceRemoved(const disks::DiskMountManager::Disk& disk) = 0; 268 std::vector<disks::DiskMountManager::Disk> GetBurnableDevices(); 368 void NotifyDeviceAdded(const disks::DiskMountManager::Disk& disk); 369 void NotifyDeviceRemoved(const disks::DiskMountManager::Disk& disk);
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
H A D | mounted_disk_monitor_unittest.cc | 19 scoped_ptr<chromeos::disks::DiskMountManager::Disk> CreateDisk( 23 new chromeos::disks::DiskMountManager::Disk( 57 scoped_ptr<chromeos::disks::DiskMountManager::Disk> disk( 60 chromeos::disks::DiskMountManager::Disk* disk_ptr = disk.get(); 62 const chromeos::disks::DiskMountManager::MountPointInfo kMountPoint( 64 chromeos::MOUNT_TYPE_DEVICE, chromeos::disks::MOUNT_CONDITION_NONE); 73 chromeos::disks::DiskMountManager::MOUNTING, 79 chromeos::disks::DiskMountManager::UNMOUNTING, 86 chromeos::disks::DiskMountManager::MOUNTING, 95 scoped_ptr<chromeos::disks [all...] |
H A D | mounted_disk_monitor.h | 15 #include "chromeos/disks/disk_mount_manager.h" 26 public chromeos::disks::DiskMountManager::Observer { 30 chromeos::disks::DiskMountManager* disk_mount_manager); 39 chromeos::disks::DiskMountManager::DiskEvent event, 40 const chromeos::disks::DiskMountManager::Disk* disk) OVERRIDE; 42 chromeos::disks::DiskMountManager::DeviceEvent event, 45 chromeos::disks::DiskMountManager::MountEvent event, 47 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info) 50 chromeos::disks::DiskMountManager::FormatEvent event, 57 const chromeos::disks [all...] |
H A D | volume_manager.h | 14 #include "chromeos/disks/disk_mount_manager.h" 37 // This manager manages "Drive" and "Downloads" in addition to disks managed 72 chromeos::disks::MountCondition mount_condition; 92 // - Removable disks (volume will be created for each partition, not only one 97 public chromeos::disks::DiskMountManager::Observer { 102 chromeos::disks::DiskMountManager* disk_mount_manager); 132 // chromeos::disks::DiskMountManager::Observer overrides. 134 chromeos::disks::DiskMountManager::DiskEvent event, 135 const chromeos::disks::DiskMountManager::Disk* disk) OVERRIDE; 137 chromeos::disks [all...] |
H A D | mounted_disk_monitor.cc | 11 using chromeos::disks::DiskMountManager; 25 chromeos::disks::DiskMountManager* disk_mount_manager) 68 chromeos::disks::DiskMountManager::MountEvent event, 70 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info) { 98 chromeos::disks::DiskMountManager::DiskEvent event, 99 const chromeos::disks::DiskMountManager::Disk* disk) { 103 chromeos::disks::DiskMountManager::DeviceEvent event, 108 chromeos::disks::DiskMountManager::FormatEvent event,
|
H A D | volume_manager.cc | 25 #include "chromeos/disks/disk_mount_manager.h" 88 volume_info.mount_condition = chromeos::disks::MOUNT_CONDITION_NONE; 102 volume_info.mount_condition = chromeos::disks::MOUNT_CONDITION_NONE; 110 const chromeos::disks::DiskMountManager::MountPointInfo& mount_point, 111 const chromeos::disks::DiskMountManager::Disk* disk) { 146 chromeos::disks::DiskMountManager* disk_mount_manager) 253 // Adds disks (both removable disks and zip archives). 254 const chromeos::disks::DiskMountManager::MountPointMap& mount_points = 256 for (chromeos::disks [all...] |
H A D | volume_manager_observer.h | 11 #include "chromeos/disks/disk_mount_manager.h" 24 const chromeos::disks::DiskMountManager::Disk& disk, bool mounting) = 0; 28 const chromeos::disks::DiskMountManager::Disk& disk) = 0;
|
H A D | fake_disk_mount_manager.cc | 46 const chromeos::disks::DiskMountManager::DiskMap& 47 FakeDiskMountManager::disks() const { function in class:file_manager::FakeDiskMountManager 51 const chromeos::disks::DiskMountManager::Disk* 60 const chromeos::disks::DiskMountManager::MountPointMap& 79 chromeos::disks::MOUNT_CONDITION_NONE);
|
H A D | volume_manager_unittest.cc | 17 #include "chromeos/disks/disk_mount_manager.h" 61 virtual void OnDiskAdded(const chromeos::disks::DiskMountManager::Disk& disk, 71 const chromeos::disks::DiskMountManager::Disk& disk) OVERRIDE { 200 const chromeos::disks::DiskMountManager::Disk kDisk( 205 chromeos::disks::DiskMountManager::DISK_ADDED, &kDisk); 209 chromeos::disks::DiskMountManager::DISK_REMOVED, &kDisk); 213 chromeos::disks::DiskMountManager::DISK_CHANGED, &kDisk); 226 const chromeos::disks::DiskMountManager::Disk kEmptyDevicePathDisk( 231 chromeos::disks::DiskMountManager::DISK_ADDED, &kEmptyDevicePathDisk); 235 const chromeos::disks [all...] |
H A D | volume_manager_factory.cc | 14 #include "chromeos/disks/disk_mount_manager.h" 49 chromeos::disks::DiskMountManager::GetInstance());
|
H A D | fake_disk_mount_manager.h | 15 #include "chromeos/disks/disk_mount_manager.h" 19 class FakeDiskMountManager : public chromeos::disks::DiskMountManager { 54 virtual const DiskMap& disks() const OVERRIDE;
|
/external/chromium_org/chrome/browser/storage_monitor/ |
H A D | storage_monitor_chromeos.h | 24 #include "chromeos/disks/disk_mount_manager.h" 31 public disks::DiskMountManager::Observer { 46 // disks::DiskMountManager::Observer implementation. 47 virtual void OnDiskEvent(disks::DiskMountManager::DiskEvent event, 48 const disks::DiskMountManager::Disk* disk) OVERRIDE; 49 virtual void OnDeviceEvent(disks::DiskMountManager::DeviceEvent event, 52 disks::DiskMountManager::MountEvent event, 54 const disks::DiskMountManager::MountPointInfo& mount_info) OVERRIDE; 55 virtual void OnFormatEvent(disks::DiskMountManager::FormatEvent event, 79 void AddMountedPath(const disks [all...] |
H A D | storage_monitor_chromeos.cc | 28 std::string MakeDeviceUniqueId(const disks::DiskMountManager::Disk& disk) { 36 // TODO(kmadhusu) Extract serial information for the disks and append it to 47 bool GetDeviceInfo(const disks::DiskMountManager::MountPointInfo& mount_info, 53 const disks::DiskMountManager::Disk* disk = 54 disks::DiskMountManager::GetInstance()->FindDiskBySourcePath(source_path); 82 const disks::DiskMountManager::MountPointInfo& mount_info) { 96 disks::DiskMountManager* manager = disks::DiskMountManager::GetInstance(); 103 DCHECK(disks::DiskMountManager::GetInstance()); 104 disks [all...] |
H A D | storage_monitor_chromeos_unittest.cc | 21 #include "chromeos/disks/mock_disk_mount_manager.h" 31 using disks::DiskMountManager; 74 disks::DiskMountManager::MountEvent event, 76 const disks::DiskMountManager::MountPointInfo& mount_info) OVERRIDE { 138 disks::MockDiskMountManager* disk_mount_manager_mock_; 167 disk_mount_manager_mock_ = new disks::MockDiskMountManager(); 208 monitor_->OnMountEvent(disks::DiskMountManager::MOUNTING, error_code, 216 monitor_->OnMountEvent(disks::DiskMountManager::UNMOUNTING, error_code, 268 disks::MOUNT_CONDITION_NONE); 289 disks [all...] |
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
H A D | file_browser_private_apitest.cc | 9 #include "chromeos/disks/mock_disk_mount_manager.h" 14 using chromeos::disks::DiskMountManager; 42 chromeos::disks::MountCondition mount_condition; 126 disk_mount_manager_mock_ = new chromeos::disks::MockDiskMountManager; 127 chromeos::disks::DiskMountManager::InitializeForTesting( 139 chromeos::disks::DiskMountManager::Shutdown(); 153 chromeos::disks::MOUNT_CONDITION_NONE, 161 chromeos::disks::MOUNT_CONDITION_NONE, 169 chromeos::disks::MOUNT_CONDITION_NONE, 177 chromeos::disks [all...] |
H A D | event_router.h | 21 #include "chromeos/disks/disk_mount_manager.h" 104 const chromeos::disks::DiskMountManager::Disk& disk, 107 const chromeos::disks::DiskMountManager::Disk& disk) OVERRIDE;
|
/external/grub/grub/ |
H A D | asmstub.c | 84 struct geometry *disks = 0; variable in typeref:struct:geometry 151 assert (disks == 0); 152 disks = malloc (NUM_DISKS * sizeof (*disks)); 153 assert (disks); 156 disks[i].flags = -1; 200 if (disks[i].flags != -1) 205 ioctl (disks[i].flags, BLKFLSBUF, 0); 209 close (disks[i].flags); 218 free (disks); [all...] |
/external/chromium/chrome/browser/chromeos/cros/ |
H A D | mock_mount_library.h | 27 MOCK_CONST_METHOD0(disks, const MountLibrary::DiskMap&(void)); 49 // The list of disks found.
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/imageburner/ |
H A D | imageburner_ui.cc | 128 virtual void OnDeviceAdded(const disks::DiskMountManager::Disk& disk) 136 virtual void OnDeviceRemoved(const disks::DiskMountManager::Disk& disk) 186 void CreateDiskValue(const disks::DiskMountManager::Disk& disk, 194 disks::DiskMountManager::DeviceTypeToString(disk.device_type())); 199 const std::vector<disks::DiskMountManager::Disk> disks local 202 for (size_t i = 0; i != disks.size(); ++i) { 204 CreateDiskValue(disks[i], disk_value);
|
/external/chromium_org/chromeos/disks/ |
H A D | mock_disk_mount_manager.h | 12 #include "chromeos/disks/disk_mount_manager.h" 17 namespace disks { namespace in namespace:chromeos 28 MOCK_CONST_METHOD0(disks, const DiskMountManager::DiskMap&(void)); 77 // Is used to implement disks. 97 // The list of disks found. 106 } // namespace disks
|