| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // MCS protocol for communication between Chrome client and Mobile Connection | 5 // MCS protocol for communication between Chrome client and Mobile Connection |
| 6 // Server . | 6 // Server . |
| 7 | 7 |
| 8 syntax = "proto2"; | 8 syntax = "proto2"; |
| 9 | 9 |
| 10 option optimize_for = LITE_RUNTIME; | 10 option optimize_for = LITE_RUNTIME; |
| 11 option retain_unknown_fields = true; | |
| 12 | 11 |
| 13 package mcs_proto; | 12 package mcs_proto; |
| 14 | 13 |
| 15 /* | 14 /* |
| 16 Common fields/comments: | 15 Common fields/comments: |
| 17 | 16 |
| 18 stream_id: no longer sent by server, each side keeps a counter | 17 stream_id: no longer sent by server, each side keeps a counter |
| 19 last_stream_id_received: sent only if a packet was received since last time | 18 last_stream_id_received: sent only if a packet was received since last time |
| 20 a last_stream was sent | 19 a last_stream was sent |
| 21 status: new bitmask including the 'idle' as bit 0. | 20 status: new bitmask including the 'idle' as bit 0. |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 // No last_streamid_received required. This is included within an IqStanza, | 278 // No last_streamid_received required. This is included within an IqStanza, |
| 280 // which includes the last_stream_id_received. | 279 // which includes the last_stream_id_received. |
| 281 } | 280 } |
| 282 | 281 |
| 283 /** | 282 /** |
| 284 Included in IQ sent after LoginResponse from server with ID 12. | 283 Included in IQ sent after LoginResponse from server with ID 12. |
| 285 */ | 284 */ |
| 286 message SelectiveAck { | 285 message SelectiveAck { |
| 287 repeated string id = 1; | 286 repeated string id = 1; |
| 288 } | 287 } |
| OLD | NEW |