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

Unified Diff: ipc/ipc_message_utils.cc

Issue 7550026: base: Remove using declaration of BinaryValue as it's no longer necessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_utils.cc
diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc
index 9492a1110781f68bfc04c173108825993c3cfd79..29ca11e1eddb7474e781ffd4e6b42417e1e46a2c 100644
--- a/ipc/ipc_message_utils.cc
+++ b/ipc/ipc_message_utils.cc
@@ -62,7 +62,8 @@ static void WriteValue(Message* m, const Value* value, int recursion) {
break;
}
case Value::TYPE_BINARY: {
- const BinaryValue* binary = static_cast<const BinaryValue*>(value);
+ const base::BinaryValue* binary =
+ static_cast<const base::BinaryValue*>(value);
m->WriteData(binary->GetBuffer(), static_cast<int>(binary->GetSize()));
break;
}
@@ -185,7 +186,7 @@ static bool ReadValue(const Message* m, void** iter, Value** value,
int length;
if (!m->ReadData(iter, &data, &length))
return false;
- *value = BinaryValue::CreateWithCopiedBuffer(data, length);
+ *value = base::BinaryValue::CreateWithCopiedBuffer(data, length);
break;
}
case Value::TYPE_DICTIONARY: {
« no previous file with comments | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698