OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Protocol for control messages. | 5 // Protocol for control messages. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 | 10 |
11 package remoting.protocol; | 11 package remoting.protocol; |
12 | 12 |
13 // BeginSessionDeprecated is sent from host to client when the session | 13 // BeginSessionDeprecated is sent from host to client when the session |
14 // starts. Legacy clients expect to receive this message at the | 14 // starts. Legacy clients expect to receive this message at the |
15 // beginning of each session. Current clients ignore it. | 15 // beginning of each session. Current clients ignore it. |
16 // | 16 // |
17 // TODO(sergeyu): Remove it once all clients are upgraded to the new | 17 // TODO(sergeyu): Remove this message. See http://crbug.com/104670 . |
18 // version. | |
19 message LocalLoginStatusDeprecated { | 18 message LocalLoginStatusDeprecated { |
20 optional bool success = 1; | 19 optional bool success = 1; |
21 } | 20 } |
22 message BeginSessionDeprecated { | 21 message BeginSessionDeprecated { |
23 optional LocalLoginStatusDeprecated login_status = 1; | 22 optional LocalLoginStatusDeprecated login_status = 1; |
24 } | 23 } |
OLD | NEW |