Index: chrome/browser/chromeos/gdata/mock_gdata_documents_service.h |
diff --git a/chrome/browser/chromeos/gdata/mock_gdata_documents_service.h b/chrome/browser/chromeos/gdata/mock_gdata_documents_service.h |
index d26e20786113187b5a9042080cecc4c21586de65..f4ee7b9ffb7468d43c659254e78bfc0b7bfbc5e6 100644 |
--- a/chrome/browser/chromeos/gdata/mock_gdata_documents_service.h |
+++ b/chrome/browser/chromeos/gdata/mock_gdata_documents_service.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, |
@@ -91,6 +93,7 @@ class MockDocumentsService : public DocumentsServiceInterface { |
// Will call |callback| with HTTP_SUCCESS, the given URL, and the host+path |
// portion of the URL as the temporary file path. |
void DownloadDocumentStub(const FilePath& virtual_path, |
+ const FilePath& local_tmp_path, |
const GURL& content_url, |
DocumentExportFormat format, |
const DownloadActionCallback& callback); |
@@ -126,6 +129,7 @@ class MockDocumentsService : public DocumentsServiceInterface { |
// Will call |callback| with HTTP_SUCCESS, the given URL, and the host+path |
// portion of the URL as the temporary file path. |
void DownloadFileStub(const FilePath& virtual_path, |
+ const FilePath& local_tmp_path, |
const GURL& content_url, |
const DownloadActionCallback& callback); |