summaryrefslogtreecommitdiffstats
path: root/blimp
diff options
context:
space:
mode:
authormaniscalco <maniscalco@chromium.org>2015-11-23 13:27:07 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-23 21:28:02 +0000
commitd256fd0832d4772fdea88fac6d19a940d248b5c2 (patch)
treeeebd2fb9d7984620f66362e66a2b6f96e1ea019f /blimp
parent76bf32db265f5097b405d2318c0f26c62e9c4854 (diff)
downloadchromium_src-d256fd0832d4772fdea88fac6d19a940d248b5c2.zip
chromium_src-d256fd0832d4772fdea88fac6d19a940d248b5c2.tar.gz
chromium_src-d256fd0832d4772fdea88fac6d19a940d248b5c2.tar.bz2
Add UNKNOWN values to blimp proto enums
BUG=559338 Review URL: https://codereview.chromium.org/1469503002 Cr-Commit-Position: refs/heads/master@{#361186}
Diffstat (limited to 'blimp')
-rw-r--r--blimp/common/proto/blimp_message.proto9
-rw-r--r--blimp/common/proto/control.proto2
-rw-r--r--blimp/common/proto/input.proto1
-rw-r--r--blimp/common/proto/navigation.proto2
4 files changed, 10 insertions, 4 deletions
diff --git a/blimp/common/proto/blimp_message.proto b/blimp/common/proto/blimp_message.proto
index e81c608..9b11684 100644
--- a/blimp/common/proto/blimp_message.proto
+++ b/blimp/common/proto/blimp_message.proto
@@ -33,10 +33,11 @@ package blimp;
message BlimpMessage {
enum Type {
- COMPOSITOR = 0;
- INPUT = 1;
- CONTROL = 2;
- NAVIGATION = 3;
+ UNKNOWN = 0;
+ COMPOSITOR = 1;
+ INPUT = 2;
+ CONTROL = 3;
+ NAVIGATION = 4;
}
// Identifies the feature type of this message.
// The feature-specific contents are contained in optional fields of the same
diff --git a/blimp/common/proto/control.proto b/blimp/common/proto/control.proto
index f01654b..bcb9aaa 100644
--- a/blimp/common/proto/control.proto
+++ b/blimp/common/proto/control.proto
@@ -10,6 +10,8 @@ option optimize_for = LITE_RUNTIME;
message ControlMessage {
enum Type {
+ UNKNOWN = 0;
+
// Client <=> Server types.
CREATE_TAB = 1;
CLOSE_TAB = 2;
diff --git a/blimp/common/proto/input.proto b/blimp/common/proto/input.proto
index 8e793e7..bc05dd3 100644
--- a/blimp/common/proto/input.proto
+++ b/blimp/common/proto/input.proto
@@ -27,6 +27,7 @@ message DragArgs {
message InputMessage {
enum Type {
+ UNKNOWN = 0;
CLICK = 1;
DRAG = 2;
}
diff --git a/blimp/common/proto/navigation.proto b/blimp/common/proto/navigation.proto
index 564e1a4..86270e1 100644
--- a/blimp/common/proto/navigation.proto
+++ b/blimp/common/proto/navigation.proto
@@ -34,6 +34,8 @@ message NavigationStateChangeMessage {
message NavigationMessage {
enum Type {
+ UNKNOWN = 0;
+
// Server => Client types.
NAVIGATION_STATE_CHANGED = 1;