| OLD | NEW |
| 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 control messages. | 5 // Message definitions for browser 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 |
| 11 message ControlMessage { | 11 message ControlMessage { |
| 12 enum Type { | 12 enum Type { |
| 13 UNKNOWN = 0; |
| 14 |
| 13 // Client <=> Server types. | 15 // Client <=> Server types. |
| 14 CREATE_TAB = 1; | 16 CREATE_TAB = 1; |
| 15 CLOSE_TAB = 2; | 17 CLOSE_TAB = 2; |
| 16 } | 18 } |
| 17 optional Type type = 1; | 19 optional Type type = 1; |
| 18 } | 20 } |
| OLD | NEW |