OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Sync protocol datatype extension for sessions. | 5 // Sync protocol datatype extension for sessions. |
6 | 6 |
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change | 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change |
8 // any fields in this file. | 8 // any fields in this file. |
9 | 9 |
10 syntax = "proto2"; | 10 syntax = "proto2"; |
11 | 11 |
| 12 option optimize_for = LITE_RUNTIME; |
| 13 option retain_unknown_fields = true; |
| 14 |
12 package sync_pb; | 15 package sync_pb; |
13 | 16 |
14 import "sync_enums.proto"; | 17 import "sync_enums.proto"; |
15 | 18 |
16 message SessionSpecifics { | 19 message SessionSpecifics { |
17 // Unique id for the client. | 20 // Unique id for the client. |
18 optional string session_tag = 1; | 21 optional string session_tag = 1; |
19 optional SessionHeader header = 2; | 22 optional SessionHeader header = 2; |
20 optional SessionTab tab = 3; | 23 optional SessionTab tab = 3; |
21 | 24 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // User is navigating to the home page. | 112 // User is navigating to the home page. |
110 optional bool navigation_home_page = 12; | 113 optional bool navigation_home_page = 12; |
111 // The beginning of a navigation chain. | 114 // The beginning of a navigation chain. |
112 optional bool navigation_chain_start = 13; | 115 optional bool navigation_chain_start = 13; |
113 // The last transition in a redirect chain. | 116 // The last transition in a redirect chain. |
114 optional bool navigation_chain_end = 14; | 117 optional bool navigation_chain_end = 14; |
115 // The id for this navigation, which is globally unique with high | 118 // The id for this navigation, which is globally unique with high |
116 // probability. | 119 // probability. |
117 optional int64 global_id = 15; | 120 optional int64 global_id = 15; |
118 } | 121 } |
OLD | NEW |