HomeSort by relevance Sort by last modified time
    Searched refs:disks (Results 1 - 25 of 48) sorted by null

1 2

  /external/chromium_org/chrome/browser/chromeos/imageburner/
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::DiskMountManager::MountPointInfo& mount_info) OVERRIDE
    [all...]
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;
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();
burn_controller.cc 45 const disks::DiskMountManager::Disk& disk) OVERRIDE {
51 const disks::DiskMountManager::Disk& disk) OVERRIDE {
109 virtual std::vector<disks::DiskMountManager::Disk> GetBurnableDevices()
156 disks::DiskMountManager* disk_mount_manager =
157 disks::DiskMountManager::GetInstance();
158 const disks::DiskMountManager::Disk* disk =
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 {
133 std::string* out_path, const disks::DiskMountManager::Disk& disk) {
149 static scoped_ptr<disks::DiskMountManager::Disk> CreateMockDisk(
155 return scoped_ptr<disks::DiskMountManager::Disk>(
156 new disks::DiskMountManager::Disk(
217 const std::vector<disks::DiskMountManager::Disk>& burnable_devices =
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/components/storage_monitor/
storage_monitor_chromeos.h 23 #include "chromeos/disks/disk_mount_manager.h"
31 public chromeos::disks::DiskMountManager::Observer {
46 // chromeos::disks::DiskMountManager::Observer implementation.
48 chromeos::disks::DiskMountManager::DiskEvent event,
49 const chromeos::disks::DiskMountManager::Disk* disk) OVERRIDE;
51 chromeos::disks::DiskMountManager::DeviceEvent event,
54 chromeos::disks::DiskMountManager::MountEvent event,
56 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info)
59 chromeos::disks::DiskMountManager::FormatEvent event,
84 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info
    [all...]
storage_monitor_chromeos_unittest.cc 13 #include "chromeos/disks/mock_disk_mount_manager.h"
28 using chromeos::disks::DiskMountManager;
134 chromeos::disks::MockDiskMountManager* disk_mount_manager_mock_;
163 disk_mount_manager_mock_ = new chromeos::disks::MockDiskMountManager();
270 chromeos::disks::MOUNT_CONDITION_NONE);
297 chromeos::disks::MOUNT_CONDITION_NONE);
329 chromeos::disks::MOUNT_CONDITION_NONE);
359 chromeos::disks::MOUNT_CONDITION_NONE);
387 chromeos::disks::MOUNT_CONDITION_UNSUPPORTED_FILESYSTEM;
407 chromeos::disks::MOUNT_CONDITION_NONE)
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/image_writer_private/
removable_storage_provider_chromeos.cc 6 #include "chromeos/disks/disk_mount_manager.h"
13 using chromeos::disks::DiskMountManager;
17 // fixed disk. In fact, some SD cards will present themselves as fixed disks
23 const DiskMountManager::DiskMap& disks = disk_mount_manager->disks(); local
25 for (DiskMountManager::DiskMap::const_iterator iter = disks.begin();
26 iter != disks.end();
operation_chromeos.cc 9 #include "chromeos/disks/disk_mount_manager.h"
15 using chromeos::disks::DiskMountManager;
73 const DiskMountManager::DiskMap& disks = local
74 DiskMountManager::GetInstance()->disks();
76 disks.find(device_path_.value());
78 if (iter == disks.end()) {
test_utils.cc 171 chromeos::disks::DiskMountManager::InitializeForTesting(disk_manager);
175 chromeos::disks::DiskMountManager::MountPointInfo(
179 chromeos::disks::MOUNT_CONDITION_NONE),
202 chromeos::disks::DiskMountManager::Shutdown();
  /external/chromium_org/chrome/browser/chromeos/file_manager/
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;
volume_manager.h 23 #include "chromeos/disks/disk_mount_manager.h"
94 chromeos::disks::MountCondition mount_condition;
115 // - Removable disks (volume will be created for each partition, not only one
120 public chromeos::disks::DiskMountManager::Observer,
128 chromeos::disks::DiskMountManager* disk_mount_manager,
169 // chromeos::disks::DiskMountManager::Observer overrides.
171 chromeos::disks::DiskMountManager::DiskEvent event,
172 const chromeos::disks::DiskMountManager::Disk* disk) OVERRIDE;
174 chromeos::disks::DiskMountManager::DeviceEvent event,
177 chromeos::disks::DiskMountManager::MountEvent event
    [all...]
volume_manager_unittest.cc 20 #include "chromeos/disks/disk_mount_manager.h"
63 virtual void OnDiskAdded(const chromeos::disks::DiskMountManager::Disk& disk,
73 const chromeos::disks::DiskMountManager::Disk& disk) OVERRIDE {
144 chromeos::disks::DiskMountManager* disk_manager)
231 const chromeos::disks::DiskMountManager::Disk kDisk(
237 chromeos::disks::DiskMountManager::DISK_ADDED, &kDisk);
241 chromeos::disks::DiskMountManager::DISK_REMOVED, &kDisk);
245 chromeos::disks::DiskMountManager::DISK_CHANGED, &kDisk);
258 const chromeos::disks::DiskMountManager::Disk kEmptyDevicePathDisk(
264 chromeos::disks::DiskMountManager::DISK_ADDED, &kEmptyDevicePathDisk)
    [all...]
fake_disk_mount_manager.cc 47 const chromeos::disks::DiskMountManager::DiskMap&
48 FakeDiskMountManager::disks() const { function in class:file_manager::FakeDiskMountManager
52 const chromeos::disks::DiskMountManager::Disk*
61 const chromeos::disks::DiskMountManager::MountPointMap&
82 chromeos::disks::MOUNT_CONDITION_NONE);
126 chromeos::disks::DiskMountManager::DiskEvent event,
127 const chromeos::disks::DiskMountManager::Disk* disk) {
128 FOR_EACH_OBSERVER(chromeos::disks::DiskMountManager::Observer,
volume_manager.cc 27 #include "chromeos/disks/disk_mount_manager.h"
132 volume_info.mount_condition = chromeos::disks::MOUNT_CONDITION_NONE;
145 volume_info.mount_condition = chromeos::disks::MOUNT_CONDITION_NONE;
160 volume_info.mount_condition = chromeos::disks::MOUNT_CONDITION_NONE;
168 const chromeos::disks::DiskMountManager::MountPointInfo& mount_point,
169 const chromeos::disks::DiskMountManager::Disk* disk) {
202 volume_info.mount_condition = chromeos::disks::MOUNT_CONDITION_NONE;
221 mount_condition(chromeos::disks::MOUNT_CONDITION_NONE),
233 chromeos::disks::DiskMountManager* disk_mount_manager,
422 chromeos::disks::DiskMountManager::DiskEvent event
    [all...]
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;
volume_manager_factory.cc 15 #include "chromeos/disks/disk_mount_manager.h"
50 chromeos::disks::DiskMountManager::GetInstance(),
  /external/chromium_org/chrome/browser/chromeos/app_mode/
kiosk_external_updater.h 16 #include "chromeos/disks/disk_mount_manager.h"
24 class KioskExternalUpdater : public disks::DiskMountManager::Observer,
55 // disks::DiskMountManager::Observer overrides.
56 virtual void OnDiskEvent(disks::DiskMountManager::DiskEvent event,
57 const disks::DiskMountManager::Disk* disk) OVERRIDE;
58 virtual void OnDeviceEvent(disks::DiskMountManager::DeviceEvent event,
61 disks::DiskMountManager::MountEvent event,
63 const disks::DiskMountManager::MountPointInfo& mount_info) OVERRIDE;
64 virtual void OnFormatEvent(disks::DiskMountManager::FormatEvent event,
kiosk_external_updater.cc 105 DCHECK(disks::DiskMountManager::GetInstance());
106 disks::DiskMountManager::GetInstance()->AddObserver(this);
110 if (disks::DiskMountManager::GetInstance())
111 disks::DiskMountManager::GetInstance()->RemoveObserver(this);
115 disks::DiskMountManager::DiskEvent event,
116 const disks::DiskMountManager::Disk* disk) {
120 disks::DiskMountManager::DeviceEvent event,
125 disks::DiskMountManager::MountEvent event,
127 const disks::DiskMountManager::MountPointInfo& mount_info) {
134 if (event == disks::DiskMountManager::MOUNTING)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
file_manager_private_apitest.cc 9 #include "chromeos/disks/mock_disk_mount_manager.h"
14 using chromeos::disks::DiskMountManager;
43 chromeos::disks::MountCondition mount_condition;
127 disk_mount_manager_mock_ = new chromeos::disks::MockDiskMountManager;
128 chromeos::disks::DiskMountManager::InitializeForTesting(
135 EXPECT_CALL(*disk_mount_manager_mock_, disks())
143 chromeos::disks::DiskMountManager::Shutdown();
157 chromeos::disks::MOUNT_CONDITION_NONE,
165 chromeos::disks::MOUNT_CONDITION_NONE,
173 chromeos::disks::MOUNT_CONDITION_NONE
    [all...]
device_event_router.h 44 virtual void OnDiskAdded(const chromeos::disks::DiskMountManager::Disk& disk,
47 const chromeos::disks::DiskMountManager::Disk& disk) OVERRIDE;
  /external/chromium_org/chrome/browser/ui/webui/chromeos/imageburner/
imageburner_ui.cc 130 virtual void OnDeviceAdded(const disks::DiskMountManager::Disk& disk)
138 virtual void OnDeviceRemoved(const disks::DiskMountManager::Disk& disk)
189 void CreateDiskValue(const disks::DiskMountManager::Disk& disk,
197 disks::DiskMountManager::DeviceTypeToString(disk.device_type()));
202 const std::vector<disks::DiskMountManager::Disk> disks local
205 for (size_t i = 0; i != disks.size(); ++i) {
207 CreateDiskValue(disks[i], disk_value);
  /external/chromium_org/chromeos/disks/
mock_disk_mount_manager.h 12 #include "chromeos/disks/disk_mount_manager.h"
17 namespace disks { namespace in namespace:chromeos
30 MOCK_CONST_METHOD0(disks, const DiskMountManager::DiskMap&(void));
84 // Is used to implement disks.
108 // The list of disks found.
117 } // namespace disks
  /development/ndk/platforms/android-3/include/linux/raid/
md_k.h 75 struct list_head disks; member in struct:mddev_s
175 #define ITERATE_RDEV(mddev,rdev,tmp) ITERATE_RDEV_GENERIC((mddev)->disks,rdev,tmp)

Completed in 2361 milliseconds

1 2