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

Unified Diff: remoting/proto/control.proto

Issue 22477006: Added JsonMessage to the control channel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/proto/internal.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/proto/control.proto
diff --git a/remoting/proto/control.proto b/remoting/proto/control.proto
index 888c0b01b90108757fcbcf33d71554da7a39a749..2d2baf620b9b0892759dd2633da25f29f47c09a5 100644
--- a/remoting/proto/control.proto
+++ b/remoting/proto/control.proto
@@ -66,3 +66,14 @@ message PairingResponse {
// Shared secret for this client.
optional string shared_secret = 2;
}
+
+message ExtensionMessage {
+ // The message type. This is used to dispatch the message to the correct
+ // recipient.
+ optional string type = 1;
+
+ // String-encoded message data. The client and host must agree on the encoding
+ // for each message type; different message types need not shared the same
+ // encoding.
+ optional string data = 2;
+}
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/proto/internal.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698