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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system.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: Add a comment. 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.h
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.h b/chrome/browser/chromeos/gdata/gdata_file_system.h
index e9fa58408b03405619b8b81382e038d4c021b78d..33bd965c1818cb727e240075485f0433b3a997ab 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
@@ -117,6 +117,8 @@ class GDataFileSystem : public GDataFileSystemInterface,
const FilePath& file_content_path,
GDataCache::FileOperationType cache_operation,
const base::Closure& callback) OVERRIDE;
+ virtual void AddDriveMountPoint() OVERRIDE;
+ virtual void RemoveDriveMountPoint() OVERRIDE;
// content::NotificationObserver implementation.
virtual void Observe(int type,
@@ -659,6 +661,8 @@ class GDataFileSystem : public GDataFileSystemInterface,
// Notifies events to observers on UI thread.
void NotifyDirectoryChanged(const FilePath& directory_path);
void NotifyDocumentFeedFetched(int num_accumulated_entries);
+ void NotifyFileSystemMounted();
+ void NotifyFileSystemUnmounting();
// Runs the callback and notifies that the initial load is finished.
void RunAndNotifyInitialLoadFinished(

Powered by Google App Engine
This is Rietveld 408576698