summaryrefslogtreecommitdiffstats
path: root/remoting/proto
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-09 19:08:08 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-09 19:08:08 +0000
commita0754d68b29b013fbeb833a0658e26bf2d562b95 (patch)
treef9045db0fb36aad9e956a7e70233fcec3b4e4b56 /remoting/proto
parent7c7338e7266fb3c60f9203518f9bb66b84f82814 (diff)
downloadchromium_src-a0754d68b29b013fbeb833a0658e26bf2d562b95.zip
chromium_src-a0754d68b29b013fbeb833a0658e26bf2d562b95.tar.gz
chromium_src-a0754d68b29b013fbeb833a0658e26bf2d562b95.tar.bz2
Revert 121055 - Remove BeginSessionDeprecated.
Once M17 is released no clients will need BeginSession message from the host, so it's safe to remove it. BUG=104670 Review URL: https://chromiumcodereview.appspot.com/9243021 TBR=sergeyu@chromium.org Review URL: https://chromiumcodereview.appspot.com/9369037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto')
-rw-r--r--remoting/proto/control.proto13
-rw-r--r--remoting/proto/internal.proto3
2 files changed, 14 insertions, 2 deletions
diff --git a/remoting/proto/control.proto b/remoting/proto/control.proto
index 3e7e2cc..a36169e 100644
--- a/remoting/proto/control.proto
+++ b/remoting/proto/control.proto
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 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,3 +10,14 @@ option optimize_for = LITE_RUNTIME;
package remoting.protocol;
+// BeginSessionDeprecated is sent from host to client when the session
+// starts. Legacy clients expect to receive this message at the
+// beginning of each session. Current clients ignore it.
+//
+// TODO(sergeyu): Remove this message. See http://crbug.com/104670 .
+message LocalLoginStatusDeprecated {
+ optional bool success = 1;
+}
+message BeginSessionDeprecated {
+ optional LocalLoginStatusDeprecated login_status = 1;
+}
diff --git a/remoting/proto/internal.proto b/remoting/proto/internal.proto
index 8ff9627..90ee147 100644
--- a/remoting/proto/internal.proto
+++ b/remoting/proto/internal.proto
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 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.
@@ -16,6 +16,7 @@ package remoting.protocol;
// Represents a message being sent on the control channel.
message ControlMessage {
+ optional BeginSessionDeprecated begin_session_deprecated = 4;
}
// Defines an event message on the event channel.