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

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

Issue 10116044: gdata: Support mounting archive files in GData cache. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: gdata: Support mounting archive files in GData cache. Created 8 years, 8 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 4e584124213d0eb89d9605109be3e2a8f3d6e051..183cedf4ffd11a201a0d65d8b1d5ac8f0fb576c9 100644
--- a/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
@@ -66,6 +66,7 @@ class MockGDataFileSystem : public GDataFileSystemInterface {
const GetCacheStateCallback& callback));
MOCK_METHOD2(GetFileInfoFromPath, bool(const FilePath& gdata_file_path,
GDataFileProperties* properties));
+ MOCK_CONST_METHOD1(IsUnderGDataCacheDirectory, bool(const FilePath& path));
MOCK_CONST_METHOD0(GetGDataCacheTmpDirectory, FilePath());
MOCK_CONST_METHOD0(GetGDataTempDownloadFolderPath, FilePath());
MOCK_CONST_METHOD0(GetGDataTempDocumentFolderPath, FilePath());
@@ -81,6 +82,9 @@ class MockGDataFileSystem : public GDataFileSystemInterface {
MOCK_METHOD3(SetPinState, void(const FilePath&,
bool,
const FileOperationCallback& callback));
+ MOCK_METHOD3(SetMountedState, void(const FilePath&,
+ bool,
+ const SetMountedStateCallback& callback));
MOCK_METHOD4(AddUploadedFile, void(const FilePath& file,
DocumentEntry* entry,
const FilePath& file_content_path,

Powered by Google App Engine
This is Rietveld 408576698