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

Unified Diff: remoting/proto/control.proto

Issue 4336001: Stub classes for Chromoting and use them in HostMessageDispatcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 | « no previous file | remoting/proto/event.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 99b5d373dfc5c8a5771449117b1dd7bbda60a61c..6e40658f77527e2a86e33e03bac92330d9256dc4 100644
--- a/remoting/proto/control.proto
+++ b/remoting/proto/control.proto
@@ -8,26 +8,21 @@ syntax = "proto2";
option optimize_for = LITE_RUNTIME;
-package remoting;
+package remoting.protocol;
-message SuggestScreenResolutionRequest {
+// TODO(hclam): Isolate rectangle from these two messages.
+message SuggestResolutionRequest {
required int32 width = 1;
required int32 height = 2;
};
-// Represents a control message that sent from the client to the host.
-// This message is transmitted on the control channel.
-message ClientControlMessage {
- optional SuggestScreenResolutionRequest suggest_screen_resolution_request = 1;
-}
-
-message SetScreenResolutionRequest {
+message NotifyResolutionRequest {
required int32 width = 1;
required int32 height = 2;
};
-// Represents a control message that sent from host to the client.
-// This message is transmitted on the control channel.
-message HostControlMessage {
- optional SetScreenResolutionRequest set_screen_resolution_request = 1;
+// Represents a message being sent on the control channel.
+message ControlMessage {
+ optional SuggestResolutionRequest suggest_resolution = 1;
+ optional NotifyResolutionRequest notify_resolution = 2;
}
« no previous file with comments | « no previous file | remoting/proto/event.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698