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

Unified Diff: ipc/attachment_broker_unprivileged.h

Issue 1270683002: ipc: Make a common subclass for Channel and ProxyChannel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More rebase errors. Created 5 years, 4 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.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/attachment_broker_unprivileged.h
diff --git a/ipc/attachment_broker_unprivileged.h b/ipc/attachment_broker_unprivileged.h
index 96d3d3e3dfd4e724e43592ac503cd691d7e770fd..1e1e60e90bb308888689a7bb3db7a927d0008d06 100644
--- a/ipc/attachment_broker_unprivileged.h
+++ b/ipc/attachment_broker_unprivileged.h
@@ -10,8 +10,7 @@
namespace IPC {
-class Channel;
-class ChannelProxy;
+class Endpoint;
class Sender;
// This abstract subclass of AttachmentBroker is intended for use in
@@ -23,8 +22,7 @@ class IPC_EXPORT AttachmentBrokerUnprivileged : public IPC::AttachmentBroker {
// In each unprivileged process, exactly one channel should be used to
// communicate brokerable attachments with the broker process.
- void DesignateBrokerCommunicationChannel(IPC::Channel* channel);
- void DesignateBrokerCommunicationChannel(IPC::ChannelProxy* proxy);
+ void DesignateBrokerCommunicationChannel(Endpoint* endpoint);
protected:
IPC::Sender* get_sender() { return sender_; }
« no previous file with comments | « ipc/attachment_broker_privileged_win_unittest.cc ('k') | ipc/attachment_broker_unprivileged.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698