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

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

Issue 4017002: HostMessageDispatcher to parse control messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged again Created 10 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/session_manager.cc ('k') | remoting/protocol/host_message_dispatcher.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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; 11 package remoting;
12 12
13 message SuggestScreenResolutionRequest { 13 message SuggestScreenResolutionRequest {
14 required int32 width = 1; 14 required int32 width = 1;
15 required int32 height = 2; 15 required int32 height = 2;
16 }; 16 };
17 17
18 // Represents a control message that sent from the client to the host. 18 // Represents a control message that sent from the client to the host.
19 // This message is transmitted on the control channel. 19 // This message is transmitted on the control channel.
20 message ClientControlMessage { 20 message ClientControlMessage {
21 optional SuggestScreenResolutionRequest suggestScreenResolutionRequest = 1; 21 optional SuggestScreenResolutionRequest suggest_screen_resolution_request = 1;
22 } 22 }
23 23
24 message SetScreenResolutionRequest { 24 message SetScreenResolutionRequest {
25 required int32 width = 1; 25 required int32 width = 1;
26 required int32 height = 2; 26 required int32 height = 2;
27 }; 27 };
28 28
29 // Represents a control message that sent from host to the client. 29 // Represents a control message that sent from host to the client.
30 // This message is transmitted on the control channel. 30 // This message is transmitted on the control channel.
31 message HostControlMessage { 31 message HostControlMessage {
32 optional SetScreenResolutionRequest setScreenResolutionRequest = 1; 32 optional SetScreenResolutionRequest set_screen_resolution_request = 1;
33 } 33 }
OLDNEW
« no previous file with comments | « remoting/host/session_manager.cc ('k') | remoting/protocol/host_message_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698