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

Unified Diff: remoting/protocol/client_stub.h

Issue 22477006: Added JsonMessage to the control channel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: remoting/protocol/client_stub.h
diff --git a/remoting/protocol/client_stub.h b/remoting/protocol/client_stub.h
index 4507ba7f821ad4dce84eef1fcd2dd50d6b76f165..e08377e47304b27357dd118b5dc5a51530b03d2e 100644
--- a/remoting/protocol/client_stub.h
+++ b/remoting/protocol/client_stub.h
@@ -18,6 +18,7 @@ namespace remoting {
namespace protocol {
class Capabilities;
+class JsonMessage;
class PairingResponse;
class ClientStub : public ClipboardStub,
@@ -32,6 +33,9 @@ class ClientStub : public ClipboardStub,
// Passes a pairing response message to the client.
virtual void SetPairingResponse(const PairingResponse& pairing_response) = 0;
+ // Send a JSON message from the host to the client.
Wez 2013/08/09 21:25:48 nit: This comment is written from a host perspecti
Jamie 2013/08/09 21:39:06 I originally had SendJsonMessage, but it quickly g
+ virtual void ProcessHostJson(const JsonMessage& message) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(ClientStub);
};

Powered by Google App Engine
This is Rietveld 408576698