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..d1bee164e9f7d9cb6653ec4706e2d08447bbdc15 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, |
@@ -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); |