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

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

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.h
diff --git a/chrome/browser/google_apis/gdata_wapi_operations.h b/chrome/browser/google_apis/gdata_wapi_operations.h
index a7b2997117f2563d470a73ac2eca61863a17aa40..4783d7db5b0a371f227e4844b7da51ea89f4fe6c 100644
--- a/chrome/browser/google_apis/gdata_wapi_operations.h
+++ b/chrome/browser/google_apis/gdata_wapi_operations.h
@@ -435,6 +435,7 @@ class ResumeUploadOperation : public ResumeUploadOperationBase {
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,
@@ -453,6 +454,7 @@ class ResumeUploadOperation : public ResumeUploadOperationBase {
private:
const UploadRangeCallback callback_;
+ const ProgressCallback progress_callback_;
DISALLOW_COPY_AND_ASSIGN(ResumeUploadOperation);
};
« no previous file with comments | « chrome/browser/google_apis/fake_drive_service_unittest.cc ('k') | chrome/browser/google_apis/gdata_wapi_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698