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

Unified Diff: chrome/browser/google_apis/mock_drive_service.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
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google_apis/mock_drive_service.h
diff --git a/chrome/browser/google_apis/mock_drive_service.h b/chrome/browser/google_apis/mock_drive_service.h
index 9864ca23908177459968bbafc91288fc999949cf..211759e4900c2593d82d4f399ca21a30e15a7888 100644
--- a/chrome/browser/google_apis/mock_drive_service.h
+++ b/chrome/browser/google_apis/mock_drive_service.h
@@ -114,7 +114,7 @@ class MockDriveService : public DriveServiceInterface {
const std::string& resource_id,
const std::string& etag,
const InitiateUploadCallback& callback));
- MOCK_METHOD9(ResumeUpload,
+ MOCK_METHOD10(ResumeUpload,
void(UploadMode upload_mode,
const base::FilePath& drive_file_path,
const GURL& upload_url,
@@ -123,7 +123,8 @@ class MockDriveService : public DriveServiceInterface {
int64 content_length,
const std::string& content_type,
const scoped_refptr<net::IOBuffer>& buf,
- const UploadRangeCallback& callback));
+ const UploadRangeCallback& callback,
+ const ProgressCallback& progress_callback));
MOCK_METHOD5(GetUploadStatus,
void(UploadMode upload_mode,
const base::FilePath& drive_file_path,
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698