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

Unified Diff: extensions/renderer/argument_spec_unittest.cc

Issue 2689673002: Inline base::BinaryValue into base::Value (Closed)
Patch Set: Rebase Created 3 years, 10 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
« no previous file with comments | « extensions/browser/api/usb/usb_api.cc ('k') | ipc/ipc_message_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/argument_spec_unittest.cc
diff --git a/extensions/renderer/argument_spec_unittest.cc b/extensions/renderer/argument_spec_unittest.cc
index 45de50c2828f99bf2793a174dab5cf4ec2764833..4b94b8405e52c282db26c97f30c24e9711d4368b 100644
--- a/extensions/renderer/argument_spec_unittest.cc
+++ b/extensions/renderer/argument_spec_unittest.cc
@@ -262,7 +262,8 @@ TEST_F(ArgumentSpecUnitTest, Test) {
const char kBinarySpec[] = "{ 'type': 'binary' }";
ArgumentSpec spec(*ValueFromString(kBinarySpec));
// Simple case: empty ArrayBuffer -> empty BinaryValue.
- ExpectSuccess(spec, "(new ArrayBuffer())", base::BinaryValue());
+ ExpectSuccess(spec, "(new ArrayBuffer())",
+ base::Value(base::Value::Type::BINARY));
{
// A non-empty (but zero-filled) ArrayBufferView.
const char kBuffer[] = {0, 0, 0, 0};
« no previous file with comments | « extensions/browser/api/usb/usb_api.cc ('k') | ipc/ipc_message_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698