Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Side by Side Diff: remoting/proto/mux.proto

Issue 11359146: Revert "Linux: change protobuf default option to allow building" (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/proto/internal.proto ('k') | remoting/proto/video.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 the mux channel that multiplexes multiple channels. 5 // Protocol for the mux channel that multiplexes multiple channels.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME;
10
9 package remoting.protocol; 11 package remoting.protocol;
10 12
11 message MultiplexPacket { 13 message MultiplexPacket {
12 // Channel ID. Each peer choses this value when it sends first packet to 14 // Channel ID. Each peer choses this value when it sends first packet to
13 // the other peer. It unique identified channel this packet belongs to. 15 // the other peer. It unique identified channel this packet belongs to.
14 // Channel ID is direction-specific, i.e. each channel has two IDs 16 // Channel ID is direction-specific, i.e. each channel has two IDs
15 // assigned to it: one for receiving and one for sending. 17 // assigned to it: one for receiving and one for sending.
16 optional int32 channel_id = 1; 18 optional int32 channel_id = 1;
17 19
18 // Channel name. The name is used to identify channels before channel ID 20 // Channel name. The name is used to identify channels before channel ID
19 // is assigned in the first message. This value must be included only 21 // is assigned in the first message. This value must be included only
20 // in the first packet for a given channel. All other packets must be 22 // in the first packet for a given channel. All other packets must be
21 // identified using channel ID. 23 // identified using channel ID.
22 optional string channel_name = 2; 24 optional string channel_name = 2;
23 25
24 optional bytes data = 3; 26 optional bytes data = 3;
25 } 27 }
OLDNEW
« no previous file with comments | « remoting/proto/internal.proto ('k') | remoting/proto/video.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698