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 | |
15 package sync_pb; | 12 package sync_pb; |
16 | 13 |
17 import "sync_enums.proto"; | 14 import "sync_enums.proto"; |
18 | 15 |
19 message SessionSpecifics { | 16 message SessionSpecifics { |
20 // Unique id for the client. | 17 // Unique id for the client. |
21 optional string session_tag = 1; | 18 optional string session_tag = 1; |
22 optional SessionHeader header = 2; | 19 optional SessionHeader header = 2; |
23 optional SessionTab tab = 3; | 20 optional SessionTab tab = 3; |
24 | 21 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 // User is navigating to the home page. | 109 // User is navigating to the home page. |
113 optional bool navigation_home_page = 12; | 110 optional bool navigation_home_page = 12; |
114 // The beginning of a navigation chain. | 111 // The beginning of a navigation chain. |
115 optional bool navigation_chain_start = 13; | 112 optional bool navigation_chain_start = 13; |
116 // The last transition in a redirect chain. | 113 // The last transition in a redirect chain. |
117 optional bool navigation_chain_end = 14; | 114 optional bool navigation_chain_end = 14; |
118 // The id for this navigation, which is globally unique with high | 115 // The id for this navigation, which is globally unique with high |
119 // probability. | 116 // probability. |
120 optional int64 global_id = 15; | 117 optional int64 global_id = 15; |
121 } | 118 } |
OLD | NEW |