 Chromium Code Reviews
 Chromium Code Reviews Issue 7457001:
  Adding support for mount point different from removable devices to MountLibrary   (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src/
    
  
    Issue 7457001:
  Adding support for mount point different from removable devices to MountLibrary   (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src/| Index: chrome/browser/chromeos/extensions/file_browser_event_router.h | 
| =================================================================== | 
| --- chrome/browser/chromeos/extensions/file_browser_event_router.h (revision 93731) | 
| +++ chrome/browser/chromeos/extensions/file_browser_event_router.h (working copy) | 
| @@ -46,6 +46,11 @@ | 
| const chromeos::MountLibrary::Disk* disk) OVERRIDE; | 
| virtual void DeviceChanged(chromeos::MountLibraryEventType event, | 
| const std::string& device_path) OVERRIDE; | 
| + virtual void MountCompleted(chromeos::MountLibrary::MountEvent event_type, | 
| + chromeos::MountError error_code, | 
| + const std::string& source_path, | 
| 
zel
2011/07/22 23:54:21
pass MountPointInfo here instead of these 3 params
 | 
| + chromeos::MountType type, | 
| + const std::string& mount_path) OVERRIDE; | 
| private: | 
| typedef std::map<std::string, linked_ptr<chromeos::SystemNotification> > | 
| @@ -103,6 +108,12 @@ | 
| // Sends filesystem changed extension message to all renderers. | 
| void DispatchMountEvent(const chromeos::MountLibrary::Disk* disk, bool added); | 
| + void DispatchMountCompletedEvent(chromeos::MountLibrary::MountEvent event, | 
| + chromeos::MountError error_code, | 
| + const std::string& source_path, | 
| 
zel
2011/07/22 23:54:21
pass MountPointInfo here instead of these 3 params
 | 
| + chromeos::MountType mount_type, | 
| + const std::string& mount_path); | 
| + | 
| void RemoveBrowserFromVector(const std::string& path); | 
| // Used to create a window of a standard size, and add it to a list |