| Index: google_apis/drive/base_requests.h
|
| diff --git a/google_apis/drive/base_requests.h b/google_apis/drive/base_requests.h
|
| index 59e50c8c39c7fadf3cc3d1140a92a8ede548a0cf..d7f46ab3af469c781b2def66ff71ec681893837d 100644
|
| --- a/google_apis/drive/base_requests.h
|
| +++ b/google_apis/drive/base_requests.h
|
| @@ -449,17 +449,13 @@ class MultipartUploadRequestBase : public UrlFetchRequestBase {
|
| // |content_type| and |content_length| should be the attributes of the
|
| // uploading file. Other parameters are optional and can be empty or null
|
| // depending on Upload URL provided by the subclasses.
|
| - MultipartUploadRequestBase(
|
| - RequestSender* sender,
|
| - const std::string& title,
|
| - const std::string& parent_resource_id,
|
| - const std::string& content_type,
|
| - int64 content_length,
|
| - const base::Time& modified_date,
|
| - const base::Time& last_viewed_by_me_date,
|
| - const base::FilePath& local_file_path,
|
| - const FileResourceCallback& callback,
|
| - const google_apis::ProgressCallback& progress_callback);
|
| + MultipartUploadRequestBase(RequestSender* sender,
|
| + const std::string& metadata_json,
|
| + const std::string& content_type,
|
| + int64 content_length,
|
| + const base::FilePath& local_file_path,
|
| + const FileResourceCallback& callback,
|
| + const ProgressCallback& progress_callback);
|
| ~MultipartUploadRequestBase() override;
|
|
|
| // Overridden from AuthenticatedRequestInterface.
|
| @@ -481,9 +477,6 @@ class MultipartUploadRequestBase : public UrlFetchRequestBase {
|
| // Parses the response value and invokes |callback_| with |FileResource|.
|
| void OnDataParsed(DriveApiErrorCode code, scoped_ptr<base::Value> value);
|
|
|
| - // Whether to the request has modified date information or not.
|
| - bool has_modified_date() const { return has_modified_date_; }
|
| -
|
| private:
|
| // Continues to rest part of |Start| method after determining boundary string
|
| // of multipart/related.
|
| @@ -497,7 +490,6 @@ class MultipartUploadRequestBase : public UrlFetchRequestBase {
|
| const std::string metadata_json_;
|
| const std::string content_type_;
|
| const base::FilePath local_path_;
|
| - const bool has_modified_date_;
|
| const FileResourceCallback callback_;
|
| const ProgressCallback progress_callback_;
|
|
|
|
|