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

Unified Diff: chrome/browser/sync_file_system/drive_file_sync_client.cc

Issue 14215003: Add ProgressCallback to DriveServiceInterface::DownloadFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 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/sync_file_system/drive_file_sync_client.cc
diff --git a/chrome/browser/sync_file_system/drive_file_sync_client.cc b/chrome/browser/sync_file_system/drive_file_sync_client.cc
index 4bb7570725963c2190d9474e271c6a20bcbdd701..0edf661a9f6855a1f7598a262854f7d78fd15e59 100644
--- a/chrome/browser/sync_file_system/drive_file_sync_client.cc
+++ b/chrome/browser/sync_file_system/drive_file_sync_client.cc
@@ -626,7 +626,8 @@ void DriveFileSyncClient::DownloadFileInternal(
entry->download_url(),
base::Bind(&DriveFileSyncClient::DidDownloadFile,
AsWeakPtr(), entry->file_md5(), callback),
- google_apis::GetContentCallback());
+ google_apis::GetContentCallback(),
+ google_apis::ProgressCallback());
}
void DriveFileSyncClient::DidDownloadFile(
« no previous file with comments | « chrome/browser/google_apis/test_util.cc ('k') | chrome/browser/sync_file_system/drive_file_sync_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698