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

Unified Diff: ipc/attachment_broker_unprivileged_mac.h

Issue 1414503009: IPC: Remove unnecessary conversions of BrokerableAttachment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from tsepez. Created 5 years, 2 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/attachment_broker_privileged_win_unittest.cc ('k') | ipc/attachment_broker_unprivileged_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/attachment_broker_unprivileged_mac.h
diff --git a/ipc/attachment_broker_unprivileged_mac.h b/ipc/attachment_broker_unprivileged_mac.h
index 26cf4437b7ae6f5b814438e3bfadcd73f5ad0bd6..b47233f689fbf89c15cf9fcc3e1d618e2771b113 100644
--- a/ipc/attachment_broker_unprivileged_mac.h
+++ b/ipc/attachment_broker_unprivileged_mac.h
@@ -22,8 +22,9 @@ class IPC_EXPORT AttachmentBrokerUnprivilegedMac
~AttachmentBrokerUnprivilegedMac() override;
// IPC::AttachmentBroker overrides.
- bool SendAttachmentToProcess(BrokerableAttachment* attachment,
- base::ProcessId destination_process) override;
+ bool SendAttachmentToProcess(
+ const scoped_refptr<IPC::BrokerableAttachment>& attachment,
+ base::ProcessId destination_process) override;
// IPC::Listener overrides.
bool OnMessageReceived(const Message& message) override;
« no previous file with comments | « ipc/attachment_broker_privileged_win_unittest.cc ('k') | ipc/attachment_broker_unprivileged_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698