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

Side by Side Diff: blimp/common/proto/protocol_control.proto

Issue 1492643003: [Blimp Net] Add EngineAuthHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses comments and adds unit tests Created 5 years 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 //
5 // Message definitions for browser control messages.
6 4
7 syntax = "proto2"; 5 syntax = "proto2";
8 6
9 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
10 8
11 import "size.proto";
12
13 package blimp; 9 package blimp;
14 10
15 message ControlMessage { 11 // Contains Client->Engine information to establish a authenticated connection.
Wez 2015/12/08 00:31:41 nit: an authenticated connection
haibinlu 2015/12/08 01:54:50 Done.
12 message StartConnectionMessage {
13 optional string client_token = 1;
14 optional int32 protocol_version = 2;
15 }
16
17 message ProtocolControlMessage {
16 enum Type { 18 enum Type {
17 UNKNOWN = 0; 19 UNKNOWN = 0;
18 20
19 // Client <=> Server types.
20 CREATE_TAB = 1;
21 CLOSE_TAB = 2;
22
23 // Client => Server types. 21 // Client => Server types.
24 SIZE = 3; 22 START_CONNECTION = 1;
25 } 23 }
26 24
27 optional Type type = 1; 25 optional Type type = 1;
28 26
29 // Feature-specific messages follow. 27 optional StartConnectionMessage start_connection = 1000;
30 // Only one of these fields may be set per ControlMessage.
31 optional SizeMessage resize = 1000;
32 } 28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698