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

Unified Diff: ipc/attachment_broker.h

Issue 1205713002: Make attachment broker a subclass of IPC::Listener. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@attachment_broker3_listener_base
Patch Set: Update copyright date. Created 5 years, 5 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/BUILD.gn ('k') | ipc/attachment_broker_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/attachment_broker.h
diff --git a/ipc/attachment_broker.h b/ipc/attachment_broker.h
index 715c5e594f5b3aae776c508624a1ba7d29379729..6bee1b29643aef464132ad9d6decb15ee8c5afb6 100644
--- a/ipc/attachment_broker.h
+++ b/ipc/attachment_broker.h
@@ -9,6 +9,7 @@
#include "base/process/process_handle.h"
#include "ipc/brokerable_attachment.h"
#include "ipc/ipc_export.h"
+#include "ipc/ipc_listener.h"
namespace IPC {
@@ -26,10 +27,10 @@ class IPC_EXPORT SupportsAttachmentBrokering {
// Responsible for brokering attachments to Chrome IPC messages. On platforms
// that support attachment brokering, every IPC channel should have a reference
// to a AttachmentBroker.
-class IPC_EXPORT AttachmentBroker {
+class IPC_EXPORT AttachmentBroker : public Listener {
public:
AttachmentBroker() {}
- virtual ~AttachmentBroker() {}
+ ~AttachmentBroker() override {}
// Sends |attachment| to |destination_process|. The implementation uses an
// IPC::Channel to communicate with the broker process. This may be the same
« no previous file with comments | « ipc/BUILD.gn ('k') | ipc/attachment_broker_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698