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; |
} |