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

Unified Diff: chrome/browser/chromeos/gdata/mock_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: review fix Created 8 years, 4 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/mock_gdata_file_system.h
diff --git a/chrome/browser/chromeos/gdata/mock_gdata_file_system.h b/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
index 321bb4d30f538007e0d9e29713c9ad4ab74c93c4..195c0db79bd32c8b59bbdea6bdf54fa8e4e9fce8 100644
--- a/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
@@ -24,6 +24,8 @@ class MockGDataFileSystem : public GDataFileSystemInterface {
MOCK_METHOD1(RemoveObserver, void(Observer* observer));
MOCK_METHOD0(StartUpdates, void());
MOCK_METHOD0(StopUpdates, void());
+ MOCK_METHOD0(NotifyFileSystemMounted, void());
+ MOCK_METHOD0(NotifyFileSystemToBeUnmounted, void());
MOCK_METHOD0(CheckForUpdates, void());
MOCK_METHOD2(GetEntryInfoByResourceId,
void(const std::string& resource_id,
@@ -80,6 +82,8 @@ class MockGDataFileSystem : public GDataFileSystemInterface {
void(const FilePath& file_path));
MOCK_METHOD1(GetAvailableSpace,
void(const GetAvailableSpaceCallback& callback));
+ MOCK_METHOD0(AddDriveMountPoint, void());
+ MOCK_METHOD0(RemoveDriveMountPoint, void());
satorux1 2012/08/03 20:11:18 thank you for removing them. :)
// This function is not mockable by gmock because scoped_ptr is not supported.
virtual void AddUploadedFile(UploadMode upload_mode,
const FilePath& file,

Powered by Google App Engine
This is Rietveld 408576698