Index: chrome/browser/chromeos/gdata/gdata.cc |
diff --git a/chrome/browser/chromeos/gdata/gdata.cc b/chrome/browser/chromeos/gdata/gdata.cc |
index ffdee35140ce43dc2c623f6083fab0ef7e816371..c2b091633459271050ddbe19a318b4ccdd8dee97 100644 |
--- a/chrome/browser/chromeos/gdata/gdata.cc |
+++ b/chrome/browser/chromeos/gdata/gdata.cc |
@@ -228,11 +228,13 @@ void DocumentsService::GetAccountMetadata(const GetDataCallback& callback) { |
void DocumentsService::DownloadDocument( |
const FilePath& virtual_path, |
+ const FilePath& local_cache_path, |
const GURL& document_url, |
DocumentExportFormat format, |
const DownloadActionCallback& callback) { |
DownloadFile( |
virtual_path, |
+ local_cache_path, |
chrome_browser_net::AppendQueryParameter(document_url, |
"exportFormat", |
GetExportFormatParam(format)), |
@@ -240,11 +242,12 @@ void DocumentsService::DownloadDocument( |
} |
void DocumentsService::DownloadFile(const FilePath& virtual_path, |
+ const FilePath& local_cache_path, |
const GURL& document_url, |
const DownloadActionCallback& callback) { |
StartOperationOnUIThread( |
new DownloadFileOperation(operation_registry_.get(), profile_, callback, |
- document_url, virtual_path)); |
+ document_url, virtual_path, local_cache_path)); |
} |
void DocumentsService::DeleteDocument(const GURL& document_url, |