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

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

Issue 1933053003: Used oneof in blimp_message.proto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Kevin's comments Created 4 years, 7 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
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 // Message definitions for browser tab control messages. 5 // Message definitions for browser tab control messages.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
(...skipping 15 matching lines...) Expand all
26 CREATE_TAB = 1; 26 CREATE_TAB = 1;
27 CLOSE_TAB = 2; 27 CLOSE_TAB = 2;
28 28
29 // Client => Server types. 29 // Client => Server types.
30 SIZE = 3; 30 SIZE = 3;
31 } 31 }
32 32
33 optional Type type = 1; 33 optional Type type = 1;
34 34
35 // Feature-specific messages follow. 35 // Feature-specific messages follow.
36 // Only one of these fields may be set per TabControlMessage.
37 // TODO(kmarshall): use a 'oneof' union when it's supported in Chromium. See
38 // crbug.com/570371.
Wez 2016/05/18 01:53:31 Why are we removing this comment, since this proto
shaktisahu 2016/05/18 03:55:42 There is only one field here. Do we still need a o
Wez 2016/05/20 21:10:49 Good question; I'd suggest that we have some sort
shaktisahu 2016/05/20 22:29:41 Done.
39 optional SizeMessage size = 1000; 36 optional SizeMessage size = 1000;
40 } 37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698