Chromium Code Reviews| 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..56b621301b0542181d3223a479f182a9b293730f 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. |
| + virtual void OnFileSystemUnmounting() {} |
| + |
| protected: |
| virtual ~Observer() {} |
| }; |
| @@ -123,6 +128,10 @@ class GDataFileSystemInterface { |
| virtual void StartUpdates() = 0; |
| virtual void StopUpdates() = 0; |
| + // Notifies the file system is mounted or getting unmounted. |
|
satorux1
2012/08/03 17:28:56
Add separate comments
// Notifies the file system
yoshiki
2012/08/03 18:15:08
Done.
|
| + virtual void NotifyFileSystemMounted() = 0; |
| + virtual void NotifyFileSystemUnmounting() = 0; |
|
satorux1
2012/08/03 17:28:56
NotifyFileSystemToBeUnmounted
yoshiki
2012/08/03 18:15:08
Done.
|
| + |
| // Checks for updates on the server. |
| virtual void CheckForUpdates() = 0; |