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

Unified Diff: blimp/common/proto/render_widget.proto

Issue 2026053002: Blimp: change logger to use switch/case for types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/common/logging.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/common/proto/render_widget.proto
diff --git a/blimp/common/proto/render_widget.proto b/blimp/common/proto/render_widget.proto
index 5d34be3df9784a907d195e6bae6aa87d9599b857..1ff94e4f9e54b0a790941f63b81738fbeeb31e0e 100644
--- a/blimp/common/proto/render_widget.proto
+++ b/blimp/common/proto/render_widget.proto
@@ -11,12 +11,14 @@ package blimp;
message RenderWidgetMessage {
enum Type {
+ UNKNOWN = 0;
+
// Engine => Client types.
INITIALIZE = 1;
CREATED = 2;
DELETED = 3;
}
- optional Type type = 1;
+ optional Type type = 1 [default = UNKNOWN];
optional int32 render_widget_id = 2;
-}
+}
« no previous file with comments | « blimp/common/logging.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698