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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « blimp/common/logging.cc ('k') | no next file » | 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 5
6 syntax = "proto2"; 6 syntax = "proto2";
7 7
8 option optimize_for = LITE_RUNTIME; 8 option optimize_for = LITE_RUNTIME;
9 9
10 package blimp; 10 package blimp;
11 11
12 message RenderWidgetMessage { 12 message RenderWidgetMessage {
13 enum Type { 13 enum Type {
14 UNKNOWN = 0;
15
14 // Engine => Client types. 16 // Engine => Client types.
15 INITIALIZE = 1; 17 INITIALIZE = 1;
16 CREATED = 2; 18 CREATED = 2;
17 DELETED = 3; 19 DELETED = 3;
18 } 20 }
19 21
20 optional Type type = 1; 22 optional Type type = 1 [default = UNKNOWN];
21 optional int32 render_widget_id = 2; 23 optional int32 render_widget_id = 2;
22 } 24 }
OLDNEW
« 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