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

Unified Diff: chrome/browser/google_apis/gdata_wapi_operations.cc

Issue 13927002: Add callback for upload progress in Drive service and operation layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/google_apis/gdata_wapi_operations.cc
diff --git a/chrome/browser/google_apis/gdata_wapi_operations.cc b/chrome/browser/google_apis/gdata_wapi_operations.cc
index b13784d626ef3df6b6ef7d27edc5939214702b5c..fcca732367111eb6ee2b00f9e146487d634667cd 100644
--- a/chrome/browser/google_apis/gdata_wapi_operations.cc
+++ b/chrome/browser/google_apis/gdata_wapi_operations.cc
@@ -656,6 +656,7 @@ ResumeUploadOperation::ResumeUploadOperation(
OperationRegistry* registry,
net::URLRequestContextGetter* url_request_context_getter,
const UploadRangeCallback& callback,
+ const ProgressCallback& progress_callback,
UploadMode upload_mode,
const base::FilePath& drive_file_path,
const GURL& upload_location,
@@ -674,7 +675,8 @@ ResumeUploadOperation::ResumeUploadOperation(
content_length,
content_type,
buf),
- callback_(callback) {
+ callback_(callback),
+ progress_callback_(progress_callback) {
DCHECK(!callback_.is_null());
}
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_operations.h ('k') | chrome/browser/google_apis/gdata_wapi_operations_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698