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

Unified Diff: chrome/browser/chromeos/gdata/gdata_documents_service.cc

Issue 10855034: Drive: Remove gdata_params.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review (#16) fix & rebase Created 8 years, 4 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_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));
}

Powered by Google App Engine
This is Rietveld 408576698