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

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

Issue 2091023006: Adds EngineGeolocationFeature for Blimp Geolocation project. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 4 years, 4 months 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 | « blimp/common/proto/BUILD.gn ('k') | blimp/common/proto/common.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 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 // 4 //
5 // Contains the BlimpMessage proto which frames all messages sent over Blimp 5 // Contains the BlimpMessage proto which frames all messages sent over Blimp
6 // subchannels. BlimpMessage protos are serialized and transmitted over the 6 // subchannels. BlimpMessage protos are serialized and transmitted over the
7 // wire to the Blimplet server. 7 // wire to the Blimplet server.
8 // 8 //
9 // Each BlimpMessage has a few identifying fields which provide the browser 9 // Each BlimpMessage has a few identifying fields which provide the browser
10 // session and tab ID as context. The message details are stored in a 10 // session and tab ID as context. The message details are stored in a
11 // feature-specific field (see field IDs 1000 and onward). 11 // feature-specific field (see field IDs 1000 and onward).
12 // The |type| field tells the receiving end how the BlimpMessage should 12 // The |type| field tells the receiving end how the BlimpMessage should
13 // be unpacked and which component it should be routed to. 13 // be unpacked and which component it should be routed to.
14 // 14 //
15 // CONVENTIONS: 15 // CONVENTIONS:
16 // * A BlimpMessage can contain only one feature message. 16 // * A BlimpMessage can contain only one feature message.
17 // * Feature message protos are placed in their own files. 17 // * Feature message protos are placed in their own files.
18 // * Features are applied to unidirectional channels. Client->server and 18 // * Features are applied to unidirectional channels. Client->server and
19 // server->client channels for a component should be broken out as distinct 19 // server->client channels for a component should be broken out as distinct
20 // features, even if they are conceptually similar. 20 // features, even if they are conceptually similar.
21 21
22 syntax = "proto2"; 22 syntax = "proto2";
23 23
24 option optimize_for = LITE_RUNTIME; 24 option optimize_for = LITE_RUNTIME;
25 25
26 import "blob_channel.proto"; 26 import "blob_channel.proto";
27 import "compositor.proto"; 27 import "compositor.proto";
28 import "ime.proto"; 28 import "ime.proto";
29 import "input.proto"; 29 import "input.proto";
30 import "geolocation.proto";
30 import "navigation.proto"; 31 import "navigation.proto";
31 import "render_widget.proto"; 32 import "render_widget.proto";
32 import "protocol_control.proto"; 33 import "protocol_control.proto";
33 import "settings.proto"; 34 import "settings.proto";
34 import "tab_control.proto"; 35 import "tab_control.proto";
35 36
36 package blimp; 37 package blimp;
37 38
38 message BlimpMessage { 39 message BlimpMessage {
39 // Sequence number of this message, used for message acknowledgement. 40 // Sequence number of this message, used for message acknowledgement.
(...skipping 16 matching lines...) Expand all
56 oneof feature { 57 oneof feature {
57 TabControlMessage tab_control = 40; 58 TabControlMessage tab_control = 40;
58 NavigationMessage navigation = 41; 59 NavigationMessage navigation = 41;
59 RenderWidgetMessage render_widget = 42; 60 RenderWidgetMessage render_widget = 42;
60 InputMessage input = 43; 61 InputMessage input = 43;
61 CompositorMessage compositor = 44; 62 CompositorMessage compositor = 44;
62 ProtocolControlMessage protocol_control = 45; 63 ProtocolControlMessage protocol_control = 45;
63 ImeMessage ime = 46; 64 ImeMessage ime = 46;
64 SettingsMessage settings = 47; 65 SettingsMessage settings = 47;
65 BlobChannelMessage blob_channel = 48; 66 BlobChannelMessage blob_channel = 48;
67 GeolocationMessage geolocation = 49;
66 } 68 }
67 } 69 }
68 70
OLDNEW
« no previous file with comments | « blimp/common/proto/BUILD.gn ('k') | blimp/common/proto/common.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698