| Index: google_apis/drive/drive_api_requests.cc
|
| diff --git a/google_apis/drive/drive_api_requests.cc b/google_apis/drive/drive_api_requests.cc
|
| index e9794ba6331c293e5e3a14ca17cfea17e397767d..519b55bc94c45c7e822ece1eaea7fa2ca46e015a 100644
|
| --- a/google_apis/drive/drive_api_requests.cc
|
| +++ b/google_apis/drive/drive_api_requests.cc
|
| @@ -210,9 +210,17 @@ bool FilesInsertRequest::GetContentData(std::string* upload_content_type,
|
|
|
| base::DictionaryValue root;
|
|
|
| + if (!last_viewed_by_me_date_.is_null()) {
|
| + root.SetString("lastViewedByMeDate",
|
| + util::FormatTimeAsString(last_viewed_by_me_date_));
|
| + }
|
| +
|
| if (!mime_type_.empty())
|
| root.SetString("mimeType", mime_type_);
|
|
|
| + if (!modified_date_.is_null())
|
| + root.SetString("modifiedDate", util::FormatTimeAsString(modified_date_));
|
| +
|
| if (!parents_.empty()) {
|
| base::ListValue* parents_value = new base::ListValue;
|
| for (size_t i = 0; i < parents_.size(); ++i) {
|
|
|