| 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 dec5adc2208b5233f91f62966c9797368a8ba8c3..d86766e846bd7e3b9f83a019526fa405c52a19b3 100644
|
| --- a/google_apis/drive/drive_api_requests.cc
|
| +++ b/google_apis/drive/drive_api_requests.cc
|
| @@ -130,7 +130,7 @@ std::string CreateMultipartUploadMetadataJson(
|
|
|
| AttachProperties(properties, &root);
|
| std::string json_string;
|
| - base::JSONWriter::Write(&root, &json_string);
|
| + base::JSONWriter::Write(root, &json_string);
|
| return json_string;
|
| }
|
|
|
| @@ -414,7 +414,7 @@ bool FilesInsertRequest::GetContentData(std::string* upload_content_type,
|
| root.SetString("title", title_);
|
|
|
| AttachProperties(properties_, &root);
|
| - base::JSONWriter::Write(&root, upload_content);
|
| + base::JSONWriter::Write(root, upload_content);
|
|
|
| DVLOG(1) << "FilesInsert data: " << *upload_content_type << ", ["
|
| << *upload_content << "]";
|
| @@ -488,7 +488,7 @@ bool FilesPatchRequest::GetContentData(std::string* upload_content_type,
|
| }
|
|
|
| AttachProperties(properties_, &root);
|
| - base::JSONWriter::Write(&root, upload_content);
|
| + base::JSONWriter::Write(root, upload_content);
|
|
|
| DVLOG(1) << "FilesPatch data: " << *upload_content_type << ", ["
|
| << *upload_content << "]";
|
| @@ -542,7 +542,7 @@ bool FilesCopyRequest::GetContentData(std::string* upload_content_type,
|
| if (!title_.empty())
|
| root.SetString("title", title_);
|
|
|
| - base::JSONWriter::Write(&root, upload_content);
|
| + base::JSONWriter::Write(root, upload_content);
|
| DVLOG(1) << "FilesCopy data: " << *upload_content_type << ", ["
|
| << *upload_content << "]";
|
| return true;
|
| @@ -752,7 +752,7 @@ bool ChildrenInsertRequest::GetContentData(std::string* upload_content_type,
|
| base::DictionaryValue root;
|
| root.SetString("id", id_);
|
|
|
| - base::JSONWriter::Write(&root, upload_content);
|
| + base::JSONWriter::Write(root, upload_content);
|
| DVLOG(1) << "InsertResource data: " << *upload_content_type << ", ["
|
| << *upload_content << "]";
|
| return true;
|
| @@ -831,7 +831,7 @@ bool InitiateUploadNewFileRequest::GetContentData(
|
| }
|
|
|
| AttachProperties(properties_, &root);
|
| - base::JSONWriter::Write(&root, upload_content);
|
| + base::JSONWriter::Write(root, upload_content);
|
|
|
| DVLOG(1) << "InitiateUploadNewFile data: " << *upload_content_type << ", ["
|
| << *upload_content << "]";
|
| @@ -903,7 +903,7 @@ bool InitiateUploadExistingFileRequest::GetContentData(
|
| return false;
|
|
|
| *upload_content_type = util::kContentTypeApplicationJson;
|
| - base::JSONWriter::Write(&root, upload_content);
|
| + base::JSONWriter::Write(root, upload_content);
|
| DVLOG(1) << "InitiateUploadExistingFile data: " << *upload_content_type
|
| << ", [" << *upload_content << "]";
|
| return true;
|
| @@ -1155,7 +1155,7 @@ bool PermissionsInsertRequest::GetContentData(std::string* upload_content_type,
|
| break;
|
| }
|
| root.SetString("value", value_);
|
| - base::JSONWriter::Write(&root, upload_content);
|
| + base::JSONWriter::Write(root, upload_content);
|
| return true;
|
| }
|
|
|
|
|