Chromium Code Reviews| Index: chrome/browser/chromeos/extensions/file_browser_event_router.h |
| diff --git a/chrome/browser/chromeos/extensions/file_browser_event_router.h b/chrome/browser/chromeos/extensions/file_browser_event_router.h |
| index 1e41f85b792179aa6a4d93ce0f640106428a0c34..598e8046e1e164733f49790bb1295e58bf78071c 100644 |
| --- a/chrome/browser/chromeos/extensions/file_browser_event_router.h |
| +++ b/chrome/browser/chromeos/extensions/file_browser_event_router.h |
| @@ -52,6 +52,12 @@ class FileBrowserEventRouter |
| void RemoveFileWatch(const FilePath& file_path, |
| const std::string& extension_id); |
| + // GData mount routines. |
|
satorux1
2012/08/01 20:59:01
oh no, please write better function comments. Don'
yoshiki
2012/08/01 22:23:39
Done.
|
| + void MountGData(const base::Callback<void(bool)>& callback); |
|
satorux1
2012/08/01 20:59:01
what's bool?
MountGData -> MountDrive(). Historic
yoshiki
2012/08/01 22:23:39
It is intended to return the result of mount. But
|
| + void OnGDataAuthentication(const base::Callback<void(bool)>& callback, |
| + gdata::GDataErrorCode error, |
| + const std::string& tokeni); |
| + |
| // CrosDisksClient::Observer overrides. |
| virtual void DiskChanged(chromeos::disks::DiskMountManagerEventType event, |
| const chromeos::disks::DiskMountManager::Disk* disk) |
| @@ -82,6 +88,8 @@ class FileBrowserEventRouter |
| // gdata::GDataFileSystemInterface::Observer overrides. |
| virtual void OnDirectoryChanged(const FilePath& directory_path) OVERRIDE; |
| virtual void OnDocumentFeedFetched(int num_accumulated_entries) OVERRIDE; |
| + virtual void OnFileSystemMounted() OVERRIDE; |
| + virtual void OnFileSystemUnmounting() OVERRIDE; |
| private: |
| friend class FileBrowserEventRouterFactory; |