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

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: export base::Pickle::Attachment 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
Index: ipc/ipc_message.h
diff --git a/ipc/ipc_message.h b/ipc/ipc_message.h
index a6c641d7104644536f93df6d975b51dceca41ea5..d6f49fcca8ce1d14e9909d0598dc985b7962c167 100644
--- a/ipc/ipc_message.h
+++ b/ipc/ipc_message.h
@@ -221,11 +221,13 @@ 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;
// Returns true if there are any MojoHandleAttachments in this message.

Powered by Google App Engine
This is Rietveld 408576698