summaryrefslogtreecommitdiffstats
path: root/remoting/proto
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-21 00:19:21 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-21 00:19:21 +0000
commit8e0373faf29129998c520feafc3ad2b194343169 (patch)
tree251a3f4f8ed5629d66814d840cc03626c7fc8c41 /remoting/proto
parentb05a08b74150acf8fc021263355a7a3e0d389f6c (diff)
downloadchromium_src-8e0373faf29129998c520feafc3ad2b194343169.zip
chromium_src-8e0373faf29129998c520feafc3ad2b194343169.tar.gz
chromium_src-8e0373faf29129998c520feafc3ad2b194343169.tar.bz2
Message validation in message dispatchers.
BUG=70335 TEST=None Review URL: http://codereview.chromium.org/7466004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto')
-rw-r--r--remoting/proto/control.proto13
-rw-r--r--remoting/proto/internal.proto2
2 files changed, 2 insertions, 13 deletions
diff --git a/remoting/proto/control.proto b/remoting/proto/control.proto
index cbb8409..1f75bcb 100644
--- a/remoting/proto/control.proto
+++ b/remoting/proto/control.proto
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -10,13 +10,4 @@ option optimize_for = LITE_RUNTIME;
package remoting.protocol;
-// TODO(hclam): Isolate rectangle from these two messages.
-message SuggestResolutionRequest {
- required int32 width = 1;
- required int32 height = 2;
-}
-
-message NotifyResolutionRequest {
- required int32 width = 1;
- required int32 height = 2;
-}
+// Add control messages here. Currently we don't have any.
diff --git a/remoting/proto/internal.proto b/remoting/proto/internal.proto
index bee7d03..84504ac 100644
--- a/remoting/proto/internal.proto
+++ b/remoting/proto/internal.proto
@@ -17,8 +17,6 @@ package remoting.protocol;
// Represents a message being sent on the control channel.
message ControlMessage {
- optional SuggestResolutionRequest suggest_resolution = 1;
- optional NotifyResolutionRequest notify_resolution = 2;
optional BeginSessionRequest begin_session_request = 3;
optional BeginSessionResponse begin_session_response = 4;
}