Index: chrome/browser/chromeos/gdata/gdata_documents_service.cc |
diff --git a/chrome/browser/chromeos/gdata/gdata_documents_service.cc b/chrome/browser/chromeos/gdata/gdata_documents_service.cc |
index 355dd1937701cd6f2e4a0608d363ea86d895ac40..1f548d92b4cbea3d7ecdebe0727bb4b48b4a5e8b 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_documents_service.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_documents_service.cc |
@@ -174,7 +174,7 @@ void DocumentsService::DownloadDocument( |
"exportFormat", |
GetExportFormatParam(format)), |
callback, |
- GetDownloadDataCallback()); |
+ GetContentCallback()); |
} |
void DocumentsService::DownloadFile( |
@@ -182,13 +182,13 @@ void DocumentsService::DownloadFile( |
const FilePath& local_cache_path, |
const GURL& document_url, |
const DownloadActionCallback& download_action_callback, |
- const GetDownloadDataCallback& get_download_data_callback) { |
+ const GetContentCallback& get_content_callback) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
runner_->StartOperationWithRetry( |
new DownloadFileOperation(operation_registry(), |
download_action_callback, |
- get_download_data_callback, document_url, |
+ get_content_callback, document_url, |
virtual_path, local_cache_path)); |
} |