| Index: chrome/browser/google_apis/drive_api_operations.h
|
| diff --git a/chrome/browser/google_apis/drive_api_operations.h b/chrome/browser/google_apis/drive_api_operations.h
|
| index c90bd0649453dc88531bb75d8d813e4cd4d904d2..a641b232db51025e56d8b15d21300b455bce4b10 100644
|
| --- a/chrome/browser/google_apis/drive_api_operations.h
|
| +++ b/chrome/browser/google_apis/drive_api_operations.h
|
| @@ -447,8 +447,8 @@ typedef base::Callback<void(
|
| // Performs the operation for resuming the upload of a file.
|
| class ResumeUploadOperation : public ResumeUploadOperationBase {
|
| public:
|
| - // See also ResumeUploadOperationBase's comment for parameters meaining.
|
| - // |callback| must not be null.
|
| + // See also ResumeUploadOperationBase's comment for parameters meaning.
|
| + // |callback| must not be null. |progress_callback| may be null.
|
| ResumeUploadOperation(
|
| OperationRegistry* registry,
|
| net::URLRequestContextGetter* url_request_context_getter,
|
| @@ -460,7 +460,8 @@ class ResumeUploadOperation : public ResumeUploadOperationBase {
|
| int64 content_length,
|
| const std::string& content_type,
|
| const scoped_refptr<net::IOBuffer>& buf,
|
| - const UploadRangeCallback& callback);
|
| + const UploadRangeCallback& callback,
|
| + const ProgressCallback& progress_callback);
|
| virtual ~ResumeUploadOperation();
|
|
|
| protected:
|
| @@ -471,6 +472,7 @@ class ResumeUploadOperation : public ResumeUploadOperationBase {
|
|
|
| private:
|
| const UploadRangeCallback callback_;
|
| + const ProgressCallback progress_callback_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ResumeUploadOperation);
|
| };
|
|
|