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

Unified Diff: extensions/browser/api/cast_channel/cast_message_util.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: extensions/browser/api/cast_channel/cast_message_util.cc
diff --git a/extensions/browser/api/cast_channel/cast_message_util.cc b/extensions/browser/api/cast_channel/cast_message_util.cc
index 0f4d952991e9785e31d98ac81cfd0c38b5880522..95ba5d4beb1e1c4f8d6704f61b7bd87f73af81f8 100644
--- a/extensions/browser/api/cast_channel/cast_message_util.cc
+++ b/extensions/browser/api/cast_channel/cast_message_util.cc
@@ -86,7 +86,7 @@ bool CastMessageToMessageInfo(const CastMessage& message_proto,
break;
case CastMessage_PayloadType_BINARY:
if (message_proto.has_payload_binary())
- value = base::BinaryValue::CreateWithCopiedBuffer(
+ value = base::Value::CreateWithCopiedBuffer(
message_proto.payload_binary().data(),
message_proto.payload_binary().size());
break;
« no previous file with comments | « content/common/android/gin_java_bridge_value_unittest.cc ('k') | extensions/browser/api/declarative/declarative_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698