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

Unified Diff: ipc/ipc_message_attachment_set.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_message.cc ('k') | ipc/ipc_message_attachment_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_attachment_set.h
diff --git a/ipc/ipc_message_attachment_set.h b/ipc/ipc_message_attachment_set.h
index 5e4b195ea3f83197e55a8e2863de59ca457ed24b..893f58c2b406b48d9809ae0bc25f8822840f5ac5 100644
--- a/ipc/ipc_message_attachment_set.h
+++ b/ipc/ipc_message_attachment_set.h
@@ -60,8 +60,11 @@ class IPC_EXPORT MessageAttachmentSet
// Returns a vector of all brokerable attachments.
std::vector<const BrokerableAttachment*> PeekBrokerableAttachments() const;
- std::vector<scoped_refptr<BrokerableAttachment>>
- GetBrokerableAttachmentsForUpdating();
+
+ // Replaces a placeholder brokerable attachment with |attachment|, matching
+ // them by their id.
+ void ReplacePlaceholderWithAttachment(
+ const scoped_refptr<BrokerableAttachment>& attachment);
#if defined(OS_POSIX)
// This is the maximum number of descriptors per message. We need to know this
« no previous file with comments | « ipc/ipc_message.cc ('k') | ipc/ipc_message_attachment_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698