Searched refs:VolumeMountWatcherWin (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/components/storage_monitor/
H A Dtest_volume_mount_watcher_win.cc30 result.push_back(VolumeMountWatcherWin::DriveNumberToFilePath(2)); // C
35 if (temp_root != VolumeMountWatcherWin::DriveNumberToFilePath(2))
43 result.push_back(VolumeMountWatcherWin::DriveNumberToFilePath(0)); // A
44 result.push_back(VolumeMountWatcherWin::DriveNumberToFilePath(1)); // B
45 result.push_back(VolumeMountWatcherWin::DriveNumberToFilePath(2)); // C
46 result.push_back(VolumeMountWatcherWin::DriveNumberToFilePath(3)); // D
47 result.push_back(VolumeMountWatcherWin::DriveNumberToFilePath(5)); // F
48 result.push_back(VolumeMountWatcherWin::DriveNumberToFilePath(7)); // H
49 result.push_back(VolumeMountWatcherWin::DriveNumberToFilePath(13)); // N
50 result.push_back(VolumeMountWatcherWin
[all...]
H A Dvolume_mount_watcher_win.h30 class VolumeMountWatcherWin { class in namespace:storage_monitor
32 VolumeMountWatcherWin();
33 virtual ~VolumeMountWatcherWin();
81 // |volume_watcher| points back to the VolumeMountWatcherWin that called it.
85 base::WeakPtr<VolumeMountWatcherWin> volume_watcher);
119 base::WeakPtrFactory<VolumeMountWatcherWin> weak_factory_;
121 DISALLOW_COPY_AND_ASSIGN(VolumeMountWatcherWin);
H A Dtest_storage_monitor_win.cc29 VolumeMountWatcherWin*
H A Dtest_storage_monitor_win.h31 VolumeMountWatcherWin* volume_mount_watcher();
H A Dstorage_monitor_win.h21 class VolumeMountWatcherWin;
30 StorageMonitorWin(VolumeMountWatcherWin* volume_mount_watcher,
80 scoped_ptr<VolumeMountWatcherWin> volume_mount_watcher_;
H A Dvolume_mount_watcher_win.cc330 VolumeMountWatcherWin::VolumeMountWatcherWin() function in class:storage_monitor::VolumeMountWatcherWin
342 base::FilePath VolumeMountWatcherWin::DriveNumberToFilePath(int drive_number) {
357 void VolumeMountWatcherWin::Init() {
360 // When VolumeMountWatcherWin is created, the message pumps are not running
365 base::Bind(&VolumeMountWatcherWin::AddDevicesOnUIThread,
369 void VolumeMountWatcherWin::AddDevicesOnUIThread(
379 base::Bind(&VolumeMountWatcherWin::RetrieveInfoForDeviceAndAdd,
386 void VolumeMountWatcherWin::RetrieveInfoForDeviceAndAdd(
389 base::WeakPtr<VolumeMountWatcherWin> volume_watche
[all...]
H A Dtest_volume_mount_watcher_win.h5 // This file contains a subclass of VolumeMountWatcherWin to expose some
24 class TestVolumeMountWatcherWin : public VolumeMountWatcherWin {
51 // VolumeMountWatcherWin:
H A Dstorage_monitor_win_unittest.cc164 VolumeMountWatcherWin::DriveNumberToFilePath(*it), &removable));
194 VolumeMountWatcherWin::DriveNumberToFilePath(*it), &info));
412 VolumeMountWatcherWin::DriveNumberToFilePath(8); // I:
519 EXPECT_EQ(L"A:\\", VolumeMountWatcherWin::DriveNumberToFilePath(0).value());
520 EXPECT_EQ(L"Y:\\", VolumeMountWatcherWin::DriveNumberToFilePath(24).value());
521 EXPECT_EQ(L"", VolumeMountWatcherWin::DriveNumberToFilePath(-1).value());
522 EXPECT_EQ(L"", VolumeMountWatcherWin::DriveNumberToFilePath(199).value());
H A Dstorage_monitor_win.cc25 VolumeMountWatcherWin* volume_mount_watcher,
195 return new StorageMonitorWin(new VolumeMountWatcherWin(),

Completed in 508 milliseconds