Index: chrome/browser/chromeos/gdata/gdata_file_system_interface.h |
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system_interface.h b/chrome/browser/chromeos/gdata/gdata_file_system_interface.h |
index b0cd9be4e41216032b436445cff37ba900567175..d50f3aeb46ffdd578fb7820ebf3083e54f8779df 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_file_system_interface.h |
+++ b/chrome/browser/chromeos/gdata/gdata_file_system_interface.h |
@@ -107,6 +107,11 @@ class GDataFileSystemInterface { |
// Triggered when the feed from the server is loaded. |
virtual void OnFeedFromServerLoaded() {} |
+ // Triggered when the file system is mounted. |
+ virtual void OnFileSystemMounted() {} |
+ // Triggered when the file system is getting unmounted. |
satorux1
2012/08/03 18:21:14
is being unmounted
yoshiki
2012/08/03 20:10:31
Done.
|
+ virtual void OnFileSystemUnmounting() {} |
satorux1
2012/08/03 18:21:14
OnFileSystemBeingUnmounted
yoshiki
2012/08/03 20:10:31
Done.
|
+ |
protected: |
virtual ~Observer() {} |
}; |
@@ -123,6 +128,12 @@ class GDataFileSystemInterface { |
virtual void StartUpdates() = 0; |
virtual void StopUpdates() = 0; |
+ // Notifies the file system was just mounted. |
+ virtual void NotifyFileSystemMounted() = 0; |
+ |
+ // Notifies the file system is going to be unmounted. |
+ virtual void NotifyFileSystemToBeUnmounted() = 0; |
+ |
// Checks for updates on the server. |
virtual void CheckForUpdates() = 0; |