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

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

Issue 10198003: gdata: Get rid of GetGDataCacheTmpDirectory() and friends (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix infinite recursion 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 032fedd81c64708b4f93fedf4daa64e583bf6cbe..d91191801631522857ada8334848f36d14896e52 100644
--- a/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
@@ -63,11 +63,8 @@ class MockGDataFileSystem : public GDataFileSystemInterface {
const GetCacheStateCallback& callback));
MOCK_METHOD2(GetFileInfoByPath, bool(const FilePath& gdata_file_path,
GDataFileProperties* properties));
- MOCK_CONST_METHOD0(GetGDataCacheTmpDirectory, FilePath());
- MOCK_CONST_METHOD0(GetGDataTempDownloadFolderPath, FilePath());
- MOCK_CONST_METHOD0(GetGDataTempDocumentFolderPath, FilePath());
- MOCK_CONST_METHOD0(GetGDataCachePinnedDirectory, FilePath());
- MOCK_CONST_METHOD0(GetGDataCachePersistentDirectory, FilePath());
+ MOCK_CONST_METHOD1(GetCacheDirectoryPath, FilePath(
+ GDataRootDirectory::CacheSubDirectoryType));
MOCK_CONST_METHOD4(GetCacheFilePath, FilePath(
const std::string&,
const std::string&,

Powered by Google App Engine
This is Rietveld 408576698