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

Unified Diff: ipc/ipc_message_utils.cc

Issue 2473993003: Delete IPC::ChannelPosix, IPC::ChannelWin and IPC::AttachmentBroker. (Closed)
Patch Set: Created 4 years, 1 month 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 | « ipc/ipc_message_utils.h ('k') | ipc/ipc_mojo_perftest.cc » ('j') | 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 0060f867277aa207fb106a937d292acab0723155..5a777e169e370870d3f5c7e778396a7ca6358864 100644
--- a/ipc/ipc_message_utils.cc
+++ b/ipc/ipc_message_utils.cc
@@ -587,28 +587,6 @@ void ParamTraits<std::vector<bool> >::Log(const param_type& p, std::string* l) {
}
}
-void ParamTraits<BrokerableAttachment::AttachmentId>::Write(
- base::Pickle* m,
- const param_type& p) {
- m->WriteBytes(p.nonce, BrokerableAttachment::kNonceSize);
-}
-
-bool ParamTraits<BrokerableAttachment::AttachmentId>::Read(
- const base::Pickle* m,
- base::PickleIterator* iter,
- param_type* r) {
- const char* data;
- if (!iter->ReadBytes(&data, BrokerableAttachment::kNonceSize))
- return false;
- memcpy(r->nonce, data, BrokerableAttachment::kNonceSize);
- return true;
-}
-
-void ParamTraits<BrokerableAttachment::AttachmentId>::Log(const param_type& p,
- std::string* l) {
- l->append(base::HexEncode(p.nonce, BrokerableAttachment::kNonceSize));
-}
-
void ParamTraits<base::DictionaryValue>::GetSize(base::PickleSizer* sizer,
const param_type& p) {
GetValueSize(sizer, &p, 0);
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | ipc/ipc_mojo_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698