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

Unified Diff: ipc/ipc_message.h

Issue 1659003003: IPC::Message -> base::Pickle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more mac fix Created 4 years, 11 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 | « ipc/ipc_channel_proxy_unittest_messages.h ('k') | ipc/ipc_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message.h
diff --git a/ipc/ipc_message.h b/ipc/ipc_message.h
index a6c641d7104644536f93df6d975b51dceca41ea5..56c3a46b5e95e215240e605f05891888d00ca0e6 100644
--- a/ipc/ipc_message.h
+++ b/ipc/ipc_message.h
@@ -221,13 +221,15 @@ class IPC_EXPORT Message : public base::Pickle {
// WriteAttachment appends |attachment| to the end of the set. It returns
// false iff the set is full.
- bool WriteAttachment(scoped_refptr<MessageAttachment> attachment);
+ bool WriteAttachment(
+ scoped_refptr<base::Pickle::Attachment> attachment) override;
// ReadAttachment parses an attachment given the parsing state |iter| and
// writes it to |*attachment|. It returns true on success.
- bool ReadAttachment(base::PickleIterator* iter,
- scoped_refptr<MessageAttachment>* attachment) const;
+ bool ReadAttachment(
+ base::PickleIterator* iter,
+ scoped_refptr<base::Pickle::Attachment>* attachment) const override;
// Returns true if there are any attachment in this message.
- bool HasAttachments() const;
+ bool HasAttachments() const override;
// Returns true if there are any MojoHandleAttachments in this message.
bool HasMojoHandles() const;
// Whether the message has any brokerable attachments.
« no previous file with comments | « ipc/ipc_channel_proxy_unittest_messages.h ('k') | ipc/ipc_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698