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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/write_file.cc

Issue 2799093006: Remove base::BinaryValue (Closed)
Patch Set: Rebase Created 3 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
Index: chrome/browser/chromeos/file_system_provider/operations/write_file.cc
diff --git a/chrome/browser/chromeos/file_system_provider/operations/write_file.cc b/chrome/browser/chromeos/file_system_provider/operations/write_file.cc
index 528ca4b927e25b8c031f079acb1b3ae7cc47fc08..118155da2996552e903934b530966e238fd11bf1 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/write_file.cc
+++ b/chrome/browser/chromeos/file_system_provider/operations/write_file.cc
@@ -50,8 +50,7 @@ bool WriteFile::Execute(int request_id) {
DCHECK(buffer_.get());
std::unique_ptr<base::DictionaryValue> options_as_value = options.ToValue();
options_as_value->Set(
- "data",
- base::BinaryValue::CreateWithCopiedBuffer(buffer_->data(), length_));
+ "data", base::Value::CreateWithCopiedBuffer(buffer_->data(), length_));
std::unique_ptr<base::ListValue> event_args(new base::ListValue);
event_args->Append(std::move(options_as_value));

Powered by Google App Engine
This is Rietveld 408576698