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

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

Issue 9742002: Wired GDataFileSystem::GetFile() method with internal cache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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_mock.h
diff --git a/chrome/browser/chromeos/gdata/gdata_mock.h b/chrome/browser/chromeos/gdata/gdata_mock.h
index bd848e09f3b67198725fa95c7f1575874506504b..1f63410bfce3d6c2499e6750d51e1a06a315cc8c 100644
--- a/chrome/browser/chromeos/gdata/gdata_mock.h
+++ b/chrome/browser/chromeos/gdata/gdata_mock.h
@@ -36,7 +36,8 @@ class MockDocumentsService : public DocumentsServiceInterface {
MOCK_METHOD1(GetAccountMetadata, void(const GetDataCallback& callback));
MOCK_METHOD2(DeleteDocument, void(const GURL& document_url,
const EntryActionCallback& callback));
- MOCK_METHOD4(DownloadDocument, void(const FilePath& virtual_path,
+ MOCK_METHOD5(DownloadDocument, void(const FilePath& virtual_path,
+ const FilePath& local_cache_path,
const GURL& content_url,
DocumentExportFormat format,
const DownloadActionCallback& callback));
@@ -59,7 +60,8 @@ class MockDocumentsService : public DocumentsServiceInterface {
void(const GURL& parent_content_url,
const FilePath::StringType& directory_name,
const GetDataCallback& callback));
- MOCK_METHOD3(DownloadFile, void(const FilePath& virtual_path,
+ MOCK_METHOD4(DownloadFile, void(const FilePath& virtual_path,
+ const FilePath& local_cache_path,
const GURL& content_url,
const DownloadActionCallback& callback));
MOCK_METHOD2(InitiateUpload,

Powered by Google App Engine
This is Rietveld 408576698