Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Unified Diff: chrome/browser/chromeos/extensions/file_browser_event_router.h

Issue 7457001: Adding support for mount point different from removable devices to MountLibrary (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: some compile issues Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « chrome/browser/chromeos/cros/mount_library.cc ('k') | chrome/browser/chromeos/extensions/file_browser_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698