Home
last modified time | relevance | path

Searched refs:MountLibrary (Results 1 – 9 of 9) sorted by relevance

/external/chromium/chrome/browser/chromeos/cros/
Dmock_mount_library.h20 class MockMountLibrary : public MountLibrary {
25 MOCK_METHOD1(AddObserver, void(MountLibrary::Observer*));
26 MOCK_METHOD1(RemoveObserver, void(MountLibrary::Observer*));
27 MOCK_CONST_METHOD0(disks, const MountLibrary::DiskMap&(void));
37 void AddObserverInternal(MountLibrary::Observer* observer);
38 void RemoveObserverInternal(MountLibrary::Observer* observer);
39 const MountLibrary::DiskMap& disksInternal() const { return disks_; } in disksInternal()
45 const MountLibrary::Disk* disk);
47 ObserverList<MountLibrary::Observer> observers_;
50 MountLibrary::DiskMap disks_;
Dmock_mount_library.cc25 void MockMountLibrary::AddObserverInternal(MountLibrary::Observer* observer) { in AddObserverInternal()
30 MountLibrary::Observer* observer) { in RemoveObserverInternal()
49 scoped_ptr<MountLibrary::Disk> disk1(new MountLibrary::Disk( in FireDeviceInsertEvents()
65 disks_.insert(std::pair<std::string, MountLibrary::Disk*>( in FireDeviceInsertEvents()
78 scoped_ptr<MountLibrary::Disk> disk2(new MountLibrary::Disk( in FireDeviceInsertEvents()
93 disks_.insert(std::pair<std::string, MountLibrary::Disk*>( in FireDeviceInsertEvents()
100 scoped_ptr<MountLibrary::Disk> disk(new MountLibrary::Disk( in FireDeviceRemoveEvents()
115 disks_.insert(std::pair<std::string, MountLibrary::Disk*>( in FireDeviceRemoveEvents()
121 const MountLibrary::Disk* disk) { in UpdateDiskChanged()
Dmount_library.cc18 MountLibrary::Disk::Disk(const std::string& device_path, in Disk()
49 class MountLibraryImpl : public MountLibrary {
347 for (MountLibrary::DiskMap::iterator iter = disks_.begin(); in OnRequestMountInfo()
375 MountLibrary::DiskMap::iterator iter = in OnMountEvent()
431 MountLibrary::DiskMap disks_;
436 class MountLibraryStubImpl : public MountLibrary {
458 MountLibrary* MountLibrary::GetImpl(bool stub) { in GetImpl()
Dcros_library.h28 class MountLibrary; variable
65 void SetMountLibrary(MountLibrary* library, bool own);
89 MountLibrary* GetMountLibrary();
164 Library<MountLibrary> mount_lib_;
Dmount_library.h33 class MountLibrary {
108 virtual ~MountLibrary() {} in ~MountLibrary()
119 static MountLibrary* GetImpl(bool stub);
/external/chromium/chrome/browser/chromeos/extensions/
Dfile_browser_event_router.h25 : public chromeos::MountLibrary::Observer {
36 const chromeos::MountLibrary::Disk* disk);
50 void OnDiskAdded(const chromeos::MountLibrary::Disk* disk);
51 void OnDiskRemoved(const chromeos::MountLibrary::Disk* disk);
52 void OnDiskChanged(const chromeos::MountLibrary::Disk* disk);
62 void DispatchEvent(const chromeos::MountLibrary::Disk* disk, bool added);
Dfile_browser_event_router.cc40 const chromeos::MountLibrary::Disk* disk) { in DiskToDictionaryValue()
65 chromeos::MountLibrary* lib = in ObserveFileSystemEvents()
78 chromeos::MountLibrary* lib = in StopObservingFileSystemEvents()
92 const chromeos::MountLibrary::Disk* disk) { in DiskChanged()
115 const chromeos::MountLibrary::Disk* disk, bool added) { in DispatchEvent()
137 const chromeos::MountLibrary::Disk* disk) { in OnDiskAdded()
152 chromeos::MountLibrary* lib = in OnDiskAdded()
159 const chromeos::MountLibrary::Disk* disk) { in OnDiskRemoved()
166 chromeos::MountLibrary* lib = in OnDiskRemoved()
177 const chromeos::MountLibrary::Disk* disk) { in OnDiskChanged()
/external/chromium/chrome/browser/ui/webui/chromeos/
Dimageburner_ui.h166 public chromeos::MountLibrary::Observer,
183 const chromeos::MountLibrary::Disk* disk) OVERRIDE;
Dimageburner_ui.cc219 const chromeos::MountLibrary::Disk* disk) { in DiskChanged()
305 chromeos::MountLibrary* mount_lib = in HandleGetRoots()
307 const chromeos::MountLibrary::DiskMap& disks = mount_lib->disks(); in HandleGetRoots()
309 for (chromeos::MountLibrary::DiskMap::const_iterator iter = disks.begin(); in HandleGetRoots()