summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/host_control_dispatcher.h
diff options
context:
space:
mode:
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-13 00:13:48 +0000
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-13 00:13:48 +0000
commit09eabd65c680e41cb3565e13d8d3488f5065db4b (patch)
tree33e255b078618e9212f5538f0de99925fc542e68 /remoting/protocol/host_control_dispatcher.h
parent3570ac4e041b3d2f7c314aa1094955d8c982fc13 (diff)
downloadchromium_src-09eabd65c680e41cb3565e13d8d3488f5065db4b.zip
chromium_src-09eabd65c680e41cb3565e13d8d3488f5065db4b.tar.gz
chromium_src-09eabd65c680e41cb3565e13d8d3488f5065db4b.tar.bz2
Added JsonMessage to the control channel.
This adds the client plumbing needed to get an arbitrary JSON message from client to host, or vice versa. This will allow us to extend the protocol at short notice, without needing to wait for client plugin changes to be promoted to Stable. BUG= Review URL: https://chromiumcodereview.appspot.com/22477006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217127 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/host_control_dispatcher.h')
-rw-r--r--remoting/protocol/host_control_dispatcher.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/protocol/host_control_dispatcher.h b/remoting/protocol/host_control_dispatcher.h
index 4620be1..82aa793 100644
--- a/remoting/protocol/host_control_dispatcher.h
+++ b/remoting/protocol/host_control_dispatcher.h
@@ -37,6 +37,8 @@ class HostControlDispatcher : public ChannelDispatcherBase,
virtual void SetCapabilities(const Capabilities& capabilities) OVERRIDE;
virtual void SetPairingResponse(
const PairingResponse& pairing_response) OVERRIDE;
+ virtual void DeliverHostMessage(
+ const ExtensionMessage& message) OVERRIDE;
// ClipboardStub implementation for sending clipboard data to client.
virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE;