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

Unified Diff: ipc/ipc_message.h

Issue 1317093007: ipc: Make a new class PlaceholderBrokerableAttachment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More rebase errors. Created 5 years, 3 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_reader_unittest.cc ('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 837be8503cda1ed70b123a288833b93631008e3e..8210880860fe010d1fd2acaf55519515f2d28a46 100644
--- a/ipc/ipc_message.h
+++ b/ipc/ipc_message.h
@@ -194,6 +194,11 @@ class IPC_EXPORT Message : public base::Pickle {
const char* range_end,
NextMessageInfo* info);
+ // Adds a placeholder brokerable attachment that must be replaced before the
+ // message can be dispatched.
+ bool AddPlaceholderBrokerableAttachmentWithId(
+ BrokerableAttachment::AttachmentId id);
+
// WriteAttachment appends |attachment| to the end of the set. It returns
// false iff the set is full.
bool WriteAttachment(scoped_refptr<MessageAttachment> attachment);
« no previous file with comments | « ipc/ipc_channel_reader_unittest.cc ('k') | ipc/ipc_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698