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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system_interface.h

Issue 10834115: Drive: Mount/Unmount GoogleDrive on Files App when the file system is mounted/unmounted. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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/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 26c91e59dca98c8667e64f78b7a2f2469bac0c13..87623bcfd28109def9d608b5dc23339555389070 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() {}
};
@@ -343,6 +348,11 @@ class GDataFileSystemInterface {
const FilePath& file_content_path,
GDataCache::FileOperationType cache_operation,
const base::Closure& callback) = 0;
+
+ // Registers remote file system proxy for drive mount point.
+ virtual void AddDriveMountPoint() = 0;
+ // Unregisters drive mount point from File API.
+ virtual void RemoveDriveMountPoint() = 0;
};
} // namespace gdata

Powered by Google App Engine
This is Rietveld 408576698